{"id":"CVE-2022-39986","aliases":["CVE-2022-39986","GHSA-7c28-wg7r-pg6f"],"related":[],"kind":"vulnerability","state":"published","title":"RaspAP Command Injection vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de inyección de comandos en RaspAP afecta a las versiones desde la 2.8.0 a la 2.8.7, la cual permite a atacantes no autenticados ejecutar comandos arbitrarios a través del parámetro cfg_id en /ajax/openvpn/activate_ovpncfg.php y /ajax/openvpn/del_ovpncfg.php.","source":"nvd"}],"published":"2023-08-01T00:00:00.000Z","modified":"2026-06-17T04:58:36.590Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.8.0","status":"affected","fixed":"2.8.8"}],"ecosystem":"Packagist","package":"billz/raspap-webgui","purl":"pkg:composer/billz/raspap-webgui","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.8.0","lastAffected":"2.8.7"}],"vendor":"raspap","product":"raspap","cpe":"cpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39986","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/RaspAP/raspap-webgui/pull/1303","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/RaspAP/raspap-webgui/commit/1fabc481690e008279113e18d0642c5279e3b56e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/RaspAP/raspap-webgui","tags":["package"],"sources":["ghsa"]},{"url":"https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-10-21T14:31:56.932Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39986","url":"https://www.cve.org/CVERecord?id=CVE-2022-39986","licence":"CVE Terms of Use","modified":"2024-10-21T14:32:09.094Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7c28-wg7r-pg6f","url":"https://github.com/advisories/GHSA-7c28-wg7r-pg6f","licence":"CC-BY-4.0","modified":"2024-02-16T08:01:44.327Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39986","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39986","licence":"Public domain","modified":"2026-06-17T04:58:36.590Z"}],"updatedAt":"2026-11-25T22:58:19.497Z","epss":{"score":0.99058,"percentile":0.99931,"date":"2026-12-01T12:00:22.000Z"}}