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.
CVE-2022-39986
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 98.7%, top 0% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High exploitation likelihood — EPSS 99%
- Public exploit code is available (Metasploit, ssvc poc, epss top5pct, epss high, public exploit)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(medium)
- EG Risk
- 99(Attend)EG Risk 99/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation99% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 99%
- EPSS %ILE
- 100%
- KEV
- Not listed
Published
August 1, 2023
Last Modified
November 21, 2024
Advisory Details (1)
Auto-updated Sep 4, 2026raspap-webgui/ajax/openvpn/activate_ovpncfg.php at master · RaspAP/raspap-webgui · GitHub
https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.phpAffected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| billz/raspap-webgui | 2.8.0 ... 2.8.7 (8 versions) | 2.8.8 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 3× in last 7d / 13× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-03 22:16 UTCOSV refresh
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-24 14:13 UTCEPSS rescore
- 2026-08-23 00:17 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-17 11:46 UTCOSV refresh
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 13:39 UTCEPSS rescore
- 2026-08-10 14:08 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-08 16:34 UTCEPSS rescore
- 2026-08-02 05:58 UTCOSV refresh
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-23 02:13 UTCEG score recompute
- 2026-07-22 23:01 UTCEG score recompute
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-15 13:49 UTCOSV refresh
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
Show 23 moreShow fewer
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-27 14:34 UTCOSV refresh
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-10 00:47 UTCOSV refresh
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 20:22 UTCEG score recompute
Publicly available exploits
(2 references)Working exploit code is in the public domain (1 Metasploit module). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Metasploitexploit/unix/http/raspap_rce✓ verifiedFirst seen Jul 31, 2023
RaspAP Unauthenticated Command Injection
Open source ↗ - Nucleihttp/cves/2022/CVE-2022-39986.yamlFirst seen Jan 1, 2022
RaspAP 2.8.7 - Unauthenticated Command Injection
Open source ↗
Frequently asked(5)
What is CVE-2022-39986?
When was CVE-2022-39986 disclosed?
Is CVE-2022-39986 actively exploited?
What is the CVSS score of CVE-2022-39986?
How do I remediate CVE-2022-39986?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-39986
Is Your Infrastructure Affected by CVE-2022-39986?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.