CVE-2022-39986

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

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).

Triggered by: NVD CVSS baseline
Sources: epss, nvd
Weaponized
9.8
EchelonGraph verdictPatch this weekExploitation is likely or a public exploit exists.
  • High exploitation likelihood — EPSS 99%
CISA-KEV: Not listedEPSS: 99%CVSS: 9.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

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 computed
Severity98% × 45%
Exploitation99% × 40%
Automatability100% × 15%
Action: Remediate soon — notable exploitation risk.
EPSS
99.9%
KEV
Not listed

Published

August 1, 2023

Last Modified

November 21, 2024

Advisory Details (1)

Auto-updated May 27, 2026
No patch confirmed yet.
generic

raspap-webgui/ajax/openvpn/activate_ovpncfg.php at master · RaspAP/raspap-webgui · GitHub

https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php

Affected Packages

(1 across 1 ecosystem)
Packagist(1)
PackageVulnerable rangeFixed inDependents
billz/raspap-webgui2.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 4× in last 7d / 12× 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.

  1. 2026-07-23 02:13 UTCEG score recompute
  2. 2026-07-22 23:01 UTCEG score recompute
  3. 2026-07-21 15:23 UTCEPSS rescore
  4. 2026-07-21 15:22 UTCEPSS rescore
  5. 2026-07-15 13:49 UTCOSV refresh
  6. 2026-07-09 19:08 UTCEPSS rescore
  7. 2026-06-30 23:20 UTCEPSS rescore
  8. 2026-06-30 23:20 UTCEPSS rescore
  9. 2026-06-29 14:04 UTCEPSS rescore
  10. 2026-06-27 14:34 UTCOSV refresh
  11. 2026-06-23 21:31 UTCEPSS rescore
  12. 2026-06-23 21:31 UTCEPSS rescore
  13. 2026-06-18 17:51 UTCEPSS rescore
  14. 2026-06-18 17:51 UTCEPSS rescore
  15. 2026-06-15 17:46 UTCEPSS rescore
  16. 2026-06-14 23:15 UTCEPSS rescore
  17. 2026-06-10 00:47 UTCOSV refresh
  18. 2026-06-08 14:15 UTCEPSS rescore
  19. 2026-06-08 14:15 UTCEPSS rescore
  20. 2026-06-01 13:50 UTCEPSS rescore
  21. 2026-06-01 13:50 UTCEPSS rescore
  22. 2026-05-29 13:43 UTCEPSS rescore
  23. 2026-05-29 13:43 UTCEPSS rescore
  24. 2026-05-28 13:43 UTCEPSS rescore
  25. 2026-05-28 13:43 UTCEPSS rescore
Show 6 more
  1. 2026-05-27 13:39 UTCEPSS rescore
  2. 2026-05-27 13:39 UTCEPSS rescore
  3. 2026-05-26 07:17 UTCEPSS rescore
  4. 2026-05-26 07:17 UTCEPSS rescore
  5. 2026-05-26 07:17 UTCEPSS rescore
  6. 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✓ verified
    First seen Jul 31, 2023

    RaspAP Unauthenticated Command Injection

    Open source ↗
  • Nucleihttp/cves/2022/CVE-2022-39986.yaml
    First seen Jan 1, 2022

    RaspAP 2.8.7 - Unauthenticated Command Injection

    Open source ↗

Frequently asked(5)

What is CVE-2022-39986?
CVE-2022-39986 is a critical vulnerability published on August 1, 2023. A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfgid parameter in /ajax/openvpn/activateovpncfg.php and /ajax/openvpn/del_ovpncfg.php.
When was CVE-2022-39986 disclosed?
CVE-2022-39986 was first published in the National Vulnerability Database on August 1, 2023, with the most recent update on November 21, 2024. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2022-39986 actively exploited?
CVE-2022-39986 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 99.9% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2022-39986?
CVE-2022-39986 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2022-39986?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2022-39986, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-39986

Explore →

Is Your Infrastructure Affected by CVE-2022-39986?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.