CVE-2022-39987
HIGH 8.8CVSS 3.1RaspAP Command Injection vulnerability
A Command injection vulnerability in RaspAP 2.8.0 thru 2.9.2 allows an authenticated attacker to execute arbitrary OS commands as root via the "entity" POST parameters in /ajax/networking/get_wgkey.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-7r88-wjhj-jr8m
- Sources
- NVDJSONOSV GHSA-7r88-wjhj-jr8mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/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.9.2 | |
| OSV | Packagist | billz/raspap-webgui | >= 2.8.0, < 2.9.5 | 2.9.5 |
References
- https://github.com/RaspAP/raspap-webgui/blob/master/ajax/networking/get_wgkey.php · Vendor Advisory, WEB
- https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
- https://nvd.nist.gov/vuln/detail/CVE-2022-39987 · ADVISORY
- https://github.com/RaspAP/raspap-webgui/pull/1395 · WEB
- https://github.com/RaspAP/raspap-webgui/commit/e87e7d1d3a61617430851f2a040379de1ff3dd9d · WEB
- https://github.com/RaspAP/raspap-webgui · PACKAGE
- https://github.com/RaspAP/raspap-webgui/releases/tag/2.9.5 · WEB
- 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)