CVE-2022-39986Raspap Command Injection
RaspAP Command Injection vulnerability
Published Aug 1, 2023 · Updated Oct 28, 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 CIRCL KEV, Industry KEV feed since Oct 14, 2023. Public exploit code is available.
- EPSS estimates a 78% 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.
Scores
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)
78%
Higher than 99.7% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
75/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Oct 14, 2023
74 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
12
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2022-39986
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-39986
- advisoryGHSA advisory
- 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
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 |
|---|---|---|---|
| CIRCL KEV | Oct 14, 2023 | n/a | Not reported |
| Industry KEV feed | Oct 14, 2023 | n/a | Not reported |
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
Oct 14, 2023
Last updated
Oct 28, 2026
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2022-39986
- advisoryGHSA advisory
- advisorygithub.com · activate_ovpncfg.php
- advisorygithub.com · 1fabc48
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 CIRCL KEV, Industry KEV feed 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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo