CVE-2022-39987
RaspAP 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
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.
- Record
CVE-2022-39987- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-39987- Updated
- 2026-11-02
EUVDEUVD-2023-2235 No score
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.
- Record
EUVD-2023-2235- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7r88-wjhj-jr8m
8.8
RaspAP 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.
- Record
GHSA-7r88-wjhj-jr8m- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
OSVGHSA-7r88-wjhj-jr8m
8.8
RaspAP 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.
- Record
GHSA-7r88-wjhj-jr8m- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-39987- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
billz/raspap-webguiPackagist |
2.8.0 up to 2.9.5 | 2.9.5 |
billz/raspap-webguiPackagist |
2.8.0 up to 2.9.5, plus listed versions 2.8.12.8.22.8.32.8.42.8.5 Show 9 moreShow less2.8.62.8.72.8.82.8.92.9.02.9.12.9.22.9.32.9.4 |
2.9.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-39987 is a high vulnerability (CVSS 8.8) in Raspap, published August 1, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 37.3%, the 98th percentile. Fixed in billz/raspap-webgui 2.9.5.
References
github.com/RaspAP/raspap-webgui/blob/master/ajax/networking/get_wgkey.php
medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
nvd.nist.gov/vuln/detail/CVE-2022-39987
medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
github.com/RaspAP/raspap-webgui/pull/1395
github.com/RaspAP/raspap-webgui/commit/e87e7d1d3a61617430851f2a040379de1ff3dd9d