CVE-2022-39986
CriticalExploitedPublic exploitRaspAP Command Injection vulnerability
Published Aug 1, 2023 · Updated Aug 12, 2026 · Also known as GHSA-7c28-wg7r-pg6f
Key Facts
Patch immediately- CVE-2022-39986 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Raspap, billz/raspap-webgui (composer).
- It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Oct 14, 2023. Public exploit code is available.
- EPSS estimates a 99% probability of exploitation in the next 30 days.
- Fixed versions are available, including billz/raspap-webgui 2.8.8, Raspap <=2.8.7, Raspap 2.8.7.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
99%
Higher than 99.9% of all scored CVEs
Exploited in the wild
Yes
2 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2022-39986 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in /ajax/openvpn/activate_ovpncfg.php and /ajax/openvpn/del_ovpncfg.php.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Nov 13, 2023 | n/a | Not reported |
| CIRCL KEV | Oct 14, 2023 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| RaspapRaspap | See advisory | 2.8.7 |
| billz/raspap-webguicomposer | >= 2.8.0 | 2.8.8 |
Patched Releases
billz/raspap-webgui
2.8.8
Raspap
<=2.8.7
Timeline
Publicly disclosed
Aug 1, 2023
Added to CIRCL KEV
Oct 14, 2023
Added to Industry KEV feed
Nov 13, 2023
Last updated
Aug 12, 2026
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39986.json
- advisoryhttps://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php
- advisoryhttps://github.com/RaspAP/raspap-webgui/commit/1fabc481690e008279113e18d0642c5279e3b56e
- advisoryhttps://github.com/RaspAP/raspap-webgui/pull/1303
FAQ
Common Questions.
A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in /ajax/openvpn/activate_ovpncfg.php and /ajax/openvpn/del_ovpncfg.php.
Affected: Raspap; billz/raspap-webgui (composer) versions >= 2.8.0. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Oct 14, 2023.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including billz/raspap-webgui 2.8.8, Raspap <=2.8.7, Raspap 2.8.7.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2022-39986 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo