# CVE-2022-39986: RaspAP Command Injection vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/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): 99.1%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-01T00:00:00.000Z
- Modified: 2026-06-17T04:58:36.590Z
- Also known as: GHSA-7c28-wg7r-pg6f
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in /ajax/openvpn/activate_ovpncfg.php and /ajax/openvpn/del_ovpncfg.php.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <http://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html> (exploit)
- <https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php> (vendor-advisory, web)
- <https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39986> (advisory)
- <https://github.com/RaspAP/raspap-webgui/pull/1303> (web)
- <https://github.com/RaspAP/raspap-webgui/commit/1fabc481690e008279113e18d0642c5279e3b56e> (web)
- <https://github.com/RaspAP/raspap-webgui> (package)
- <https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2> (web)

## Sources

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

---

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