CVE-2021-45466: In CWP (aka Control Web Panel or CentOS Web Panel) before 0.9.8.1107, attackers can make a crafted request to
CVE-2021-45466 is a critical-severity flaw (CVSS 9.8) affecting webpanel. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In CWP (aka Control Web Panel or CentOS Web Panel) before 0.9.8.1107, attackers can make a crafted request to api/?api=add_server&DHCP= to add an authorized_keys text file in the /resources/ folder.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 55.3% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-863 |
| Published | 2022-12-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-45466?
webpanel: upgrade to 0.9.8.1107. Exact commands for each OS are on this page.
Is CVE-2021-45466 being exploited?
CVE-2021-45466 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-45466 affect?
CVE-2021-45466 affects webpanel. Severity is critical (CVSS 9.8). In CWP (aka Control Web Panel or CentOS Web Panel) before 0.9.8.1107, attackers can make a crafted request to api/?api=add_server&DHCP= to add an authorized_keys text file in the /resources/ folder.
How urgent is CVE-2021-45466?
Priority 72/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-48703 CRITICAL 9.0 EXPLOITED UPGRADE CWP Control Web Panel OS Command Injection Vulnerability
- CVE-2023-42123 HIGH 8.8 DOWNGRADE Control Web Panel mysql_manager Command Injection Remote Code Execution Vulnerability
- CVE-2023-42122 HIGH 7.8 DOWNGRADE Control Web Panel wloggui Command Injection Local Privilege Escalation Vulnerability
- CVE-2023-42121 CRITICAL 9.8 DOWNGRADE Control Web Panel Missing Authentication Remote Code Execution Vulnerability
- CVE-2023-42120 HIGH 8.8 DOWNGRADE Control Web Panel dns_zone_editor Command Injection Remote Code Execution Vulnerability