Every CVE Search/ Get API key

CVE-2022-39987

RaspAP Command Injection vulnerability

8.8 HighFix available

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

37.3%Up 37.3 points since Aug 2, 2023
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
billz/raspap-webgui
Packagist
2.8.0 up to 2.9.5
2.9.5
billz/raspap-webgui
Packagist
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 less
2.8.62.8.72.8.82.8.92.9.02.9.12.9.22.9.32.9.4
2.9.5

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 4 moreShow less
MoveEnter Open