{"id":"CVE-2022-39986","aliases":["EUVD-2023-2233","GHSA-7c28-wg7r-pg6f"],"status":"published","title":"RaspAP Command Injection vulnerability","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.99058,"percentile":0.99932,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-77"],"published":"2023-08-01T00:00:00Z","modified":"2026-10-28T02:30:39Z","exploits":[{"source":"metasploit","id":"exploit/unix/http/raspap_rce","title":"RaspAP Unauthenticated Command Injection","type":"exploit","platform":"Linux,Unix","date":"2023-07-31","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/unix/http/raspap_rce"},{"source":"nuclei","id":"CVE-2022-39986","title":"RaspAP 2.8.7 - Unauthenticated Command Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-39986.yaml"},{"source":"pocgithub","id":"mind2hex/CVE-2022-39986-RaspAP-2.8.0-2.8.7-RCE","title":"mind2hex/CVE-2022-39986-RaspAP-2.8.0-2.8.7-RCE","date":"2023-08-24","url":"https://github.com/mind2hex/CVE-2022-39986-RaspAP-2.8.0-2.8.7-RCE"}],"fixes":[{"ecosystem":"Packagist","package":"billz/raspap-webgui","fixed_in":["2.8.8"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"billz/raspap-webgui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.8"}]}]},{"source":"osv","ecosystem":"Packagist","package":"billz/raspap-webgui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.8"}]}],"versions":["2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7"]}],"products":[{"vendor":"raspap","product":"raspap"}],"references":[{"url":"https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2","tags":["x_transferred","web"]},{"url":"http://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39986","tags":["advisory"]},{"url":"https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2","tags":["web"]},{"url":"https://github.com/RaspAP/raspap-webgui/pull/1303","tags":["web"]},{"url":"https://github.com/RaspAP/raspap-webgui/commit/1fabc481690e008279113e18d0642c5279e3b56e","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7c28-wg7r-pg6f"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39986.json","tags":["advisory"]},{"url":"https://github.com/RaspAP/raspap-webgui","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-39986","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.","status":"published","published":"2023-08-01T00:00:00Z","modified":"2024-10-21T14:32:09.094Z","updated_at":"2026-11-02T14:34:39.559326Z"}],"euvd":[{"id":"EUVD-2023-2233","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.","status":"published","published":"2023-08-01T00:00:00Z","modified":"2024-10-21T14:32:09Z","updated_at":"2026-11-03T00:27:32.038051Z"}],"ghsa":[{"id":"GHSA-7c28-wg7r-pg6f","title":"RaspAP Command Injection vulnerability","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`.","status":"published","published":"2023-08-01T15:30:30Z","modified":"2023-11-27T22:20:24Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:37:22.840002Z"}],"nvd":[{"id":"CVE-2022-39986","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.","status":"published","published":"2023-08-01T14:15:09.877Z","modified":"2026-06-17T04:58:36.59Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:07:38.721429Z"}],"osv":[{"id":"GHSA-7c28-wg7r-pg6f","title":"RaspAP Command Injection vulnerability","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`.","status":"published","published":"2023-08-01T15:30:30Z","modified":"2024-02-16T08:01:44.327775Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:41.002603Z"},{"id":"CVE-2022-39986","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.","status":"published","published":"2023-08-01T00:00:00Z","modified":"2026-10-28T02:30:39.745116604Z","updated_at":"2026-11-02T15:44:26.860704Z"}]}}
