CrowdSecLive Exploit Tracker
Limited ExploitationCVE-2022-39986Public Exploit

RaspAP - RCE (CVE-2022-39986)

PublishedAug 1, 2023
First SeenN/A
Last Seen
Reported
CVSS9.8

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.

psychologyCrowdSec Analysis

CVE-2022-39986 is a critical command injection vulnerability in RaspAP versions 2.8.0 through 2.8.7, allowing unauthenticated attackers to execute arbitrary system commands via the cfg_id parameter in specific OpenVPN-related endpoints. This flaw could be exploited remotely to gain full control over the affected device, leading to data theft, system compromise, or service disruption.

CrowdSec has been tracking this vulnerability and its exploits since 5th of August 2025.

CrowdSec has not observed any significant exploitation activity targeting CVE-2022-39986 across its network. As a result, no community-driven trend analysis is available for this vulnerability at this time.

Attackers exploit the cfg_id parameter in /ajax/openvpn/activate_ovpncfg.php and /ajax/openvpn/del_ovpncfg.php to inject shell commands, leading to unauthenticated remote code execution on vulnerable RaspAP installations.

lock

Full Intelligence Available

Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.

EventDate
CVE Published2023-08-01
Rule Released2025-08-05

Remediation & Protection

lock to download blocklists, subscribe to firewalls, and access IP intelligence.