Skip to content
Vulnerability Intelligence

CVE-2022-39986

CriticalExploitedPublic exploit

RaspAP 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

CatalogAddedRemediation dueRansomware use
Industry KEV feedNov 13, 2023n/aNot reported
CIRCL KEVOct 14, 2023n/aNot 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
ProductAffected versionsFixed in
RaspapRaspapSee advisory2.8.7
billz/raspap-webguicomposer>= 2.8.02.8.8

Patched Releases

billz/raspap-webgui

2.8.8

Raspap

<=2.8.7

Timeline

  1. Publicly disclosed

    Aug 1, 2023

  2. Added to CIRCL KEV

    Oct 14, 2023

  3. Added to Industry KEV feed

    Nov 13, 2023

  4. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')

References

15 more references in the full CVE brief

FAQ

Common Questions.

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