{"id":"CVE-2022-39986","details":"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.","aliases":["GHSA-7c28-wg7r-pg6f"],"modified":"2026-08-12T03:51:49.479809848Z","published":"2023-08-01T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39986.json"},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html"},{"type":"WEB","url":"https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php"},{"type":"WEB","url":"https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39986.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39986"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/raspap/raspap-webgui","events":[{"introduced":"60d151b9762389ac2597f6e6ad9b4901141e3400"},{"last_affected":"5a3e464c23f9def0967988903cc1bce03a8843cd"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.8.0"},{"last_affected":"2.8.7"}]}}],"versions":["2.8.7","2.8.6","2.8.5","2.8.3","2.8.2","2.8.1","2.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39986.json"}}],"schema_version":"1.9.0"}