Vulnerabilities · 2022 · Raspap
CVE-2022-39986
Raspap vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Raspap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Raspap runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php · Vendor Advisory
- packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html
- medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
- nvd.nist.gov/vuln/detail/CVE-2022-39986
- cve.org/CVERecord?id=CVE-2022-39986
More vulnerabilities in Raspap products
CVE-2025-50428CVE-2025-44163CVE-2024-36622CVE-2024-28754CVE-2024-28753CVE-2024-2497CVE-2023-30260CVE-2022-39987All 15
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.