Vulnerability record · CVE-2021-37840 · published 2 August 2021
CVE-2021-37840: Aapanel vulnerability
Aapanel · Aapanel
aaPanel through 6.8.12 allows Cross-Site WebSocket Hijacking (CSWH) involving OS commands within WebSocket messages at a ws:// URL for /webssh (the victim must have configured Terminal with at least one host). Successful exploitation depends on the browser used by a potential victim (e.g., exploitation can occur with Firefox but not Chrome).
Description
aaPanel through 6.8.12 allows Cross-Site WebSocket Hijacking (CSWH) involving OS commands within WebSocket messages at a ws:// URL for /webssh (the victim must have configured Terminal with at least one host). Successful exploitation depends on the browser used by a potential victim (e.g., exploitation can occur with Firefox but not Chrome).
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/aaPanel/aaPanel/issues/74 | ExploitThird Party Advisory |
| https://ssd-disclosure.com/ssd-advisory-aapanel-cswh-to-rce/ | ExploitThird Party Advisory |
| https://github.com/aaPanel/aaPanel/issues/74 | ExploitThird Party Advisory |
| https://ssd-disclosure.com/ssd-advisory-aapanel-cswh-to-rce/ | ExploitThird Party Advisory |
Track CVE-2021-37840 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-37840), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.