CVE-2022-39987
CVE-2022-39987 is a high-severity vulnerability in Raspap with a CVSS 3.x base score of 8.8. Its EPSS exploit-prediction score of 35% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-77.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 35% (98th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-77
- Affected product: Raspap
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2022-39987?
- 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.
- How severe is CVE-2022-39987?
- CVE-2022-39987 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2022-39987 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 35% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-39987?
- CVE-2022-39987 affects Raspap. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-39987?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2022-39987 published?
- CVE-2022-39987 was published on 2023-08-01 and last updated on 2026-06-17.
References
- https://github.com/RaspAP/raspap-webgui/blob/master/ajax/networking/get_wgkey.php
- https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
Affected products (1)
- cpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:*
More vulnerabilities in Raspap
- CVE-2022-39986 — Critical (CVSS 9.8): A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary…
- CVE-2021-33357 — Critical (CVSS 9.8): A vulnerability exists in RaspAP 2.6 to 2.6.5 in the "iface" GET parameter in /ajax/networking/get_netcfg.php, when the…
- CVE-2023-30260 — High (CVSS 8.8): Command injection vulnerability in RaspAP raspap-webgui 2.8.8 and earlier allows remote attackers to run arbitrary…
- CVE-2021-38557 — High (CVSS 8.8): raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions.…
- CVE-2021-38556 — High (CVSS 8.8): includes/configure_client.php in RaspAP 2.6.6 allows attackers to execute commands via command injection.
- CVE-2021-33358 — High (CVSS 8.8): Multiple vulnerabilities exist in RaspAP 2.3 to 2.6.5 in the "interface", "ssid" and "wpa_passphrase" POST parameters…
Other CWE-77 (Command Injection) vulnerabilities
- CVE-2026-23652 — Critical (CVSS 10.0): Improper neutralization of special elements used in a command ('command injection') in Microsoft Power Pages allows an…
- CVE-2025-59818 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute arbitrary commands on the underlying system using the file…
- CVE-2025-64093 — Critical (CVSS 10.0): Remote Code Execution vulnerability that allows unauthenticated attackers to inject arbitrary commands into the…
- CVE-2025-64090 — Critical (CVSS 10.0): This vulnerability allows authenticated attackers to execute commands via the hostname of the device.
- CVE-2025-61492 — Critical (CVSS 10.0): A command injection vulnerability in the execute_command function of terminal-controller-mcp 0.1.7 allows attackers to…
- CVE-2025-10035 — Critical (CVSS 10.0): A deserialization vulnerability in the License Servlet of Fortra's GoAnywhere MFT allows an actor with a validly forged…