# CVE-2022-39987: RaspAP Command Injection vulnerability

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 37.3%, higher than 98% of CVEs (2026-12-01)
- Published: 2023-08-01T00:00:00.000Z
- Modified: 2026-06-17T04:58:36.717Z
- Also known as: GHSA-7r88-wjhj-jr8m
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- billz/raspap-webgui (Packagist): from 2.8.0 before 2.9.5
- raspap raspap: from 2.8.0 up to 2.9.2

## Every score

- GitHub: 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`
- NVD: 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`

## 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)

## Sources

- CVE List: [CVE-2022-39987](https://www.cve.org/CVERecord?id=CVE-2022-39987), CVE Terms of Use, modified 2024-10-21
- GitHub Advisory Database: [GHSA-7r88-wjhj-jr8m](https://github.com/advisories/GHSA-7r88-wjhj-jr8m), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-39987](https://nvd.nist.gov/vuln/detail/CVE-2022-39987), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39987 · Whole record: https://cve.day/CVE-2022-39987.json · Rebuilt by cve.day 2026-11-25T22:58:19.497Z
