CVE-2021-45466 in Control-Webpanel Webpanel
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Control-Webpanel | Webpanel | < 0.9.8.1107 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-45466 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-301393-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-12-26 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
A critical vulnerability in CWP (Control Web Panel) before version 0.9.8.1107 allows attackers to add an authorized_keys file via a crafted API request, potentially granting unauthorized access.
Attackers can exploit this vulnerability by sending a specially crafted request to the API endpoint 'api/?api=add_server&DHCP=' which can lead to the addition of an authorized_keys file in the /resources/ folder, allowing unauthorized SSH access.
Questions
What is CVE-2021-45466?
A critical vulnerability in CWP (Control Web Panel) before version 0.9.8.1107 allows attackers to add an authorized_keys file via a crafted API request, potentially granting unauthorized access.
What is the CVSS score for CVE-2021-45466?
CVE-2021-45466 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 55.3%.
Is CVE-2021-45466 actively exploited?
No confirmed active exploitation of CVE-2021-45466 as of 2026-09-25.
How do I remediate CVE-2021-45466?
Priority: IMMEDIATE. Advisory: https://control-webpanel.com/changelog PSIRT: [email protected]
What systems are affected by CVE-2021-45466?
CVE-2021-45466 affects Control-Webpanel Webpanel.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Control-Webpanel","product":"Webpanel","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.