Vulnerability in Aapanel
CVE-2021-37840
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.017, 77.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- EonSecurity/aapanel-ws-bypass (last pushed 2026-06-23): aaPanel WebSocket CSRF Bypass leading to RCE (Incomplete fix for CVE-2021-37840)
References
- github.com/aaPanel/aaPanel/issues/74 (Exploit, Third Party Advisory)
- ssd-disclosure.com/ssd-advisory-aapanel-cswh-to-rce/ (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.