CVE-2022-39986
CRITICAL 9.8CVSS 3.1RaspAP Command Injection 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.
- Published
- 1 Aug 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-7c28-wg7r-pg6f
- Sources
- NVDJSONOSV GHSA-7c28-wg7r-pg6fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | raspap | raspapcpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:* |
>= 2.8.0, <= 2.8.7 | |
| OSV | Packagist | billz/raspap-webgui | >= 2.8.0, < 2.8.8 | 2.8.8 |
References
- http://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html
- https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php · Vendor Advisory, WEB
- https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
- https://nvd.nist.gov/vuln/detail/CVE-2022-39986 · ADVISORY
- https://github.com/RaspAP/raspap-webgui/pull/1303 · WEB
- https://github.com/RaspAP/raspap-webgui/commit/1fabc481690e008279113e18d0642c5279e3b56e · WEB
- https://github.com/RaspAP/raspap-webgui · PACKAGE
- https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 1 Aug 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Aug 2023)