{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40506","published":"2026-08-17T21:16:44.930000Z","last_modified":"2026-09-09T20:40:01.933000Z","status":"Deferred","cvss":{"version":"4.0","score":7.0,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["openemr"],"products":["openemr/openemr"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":42,"links":{"html_es":"/es/cve/CVE-2026-40506/","html_en":"/en/cve/CVE-2026-40506/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40506","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40506"},"untrusted":{"vendor_name":"openemr","product_name":"openemr","desc_en":"OpenEMR before 8.2.0 contains a path traversal vulnerability in the standard_tables_manage.php interface where the db GET parameter is passed without validation to temp_dir_cleanup(), which joins the value to the PHP temporary directory path and recursively deletes the resulting directory. Attackers can supply a traversal sequence in the db parameter to resolve outside the intended temporary directory, and by chaining this with an open redirect in dicom_frame.php, an unauthenticated attacker can deliver a crafted URL that triggers arbitrary recursive directory deletion within an authenticated Superuser's session.","affected":[{"untrusted_vendor":"openemr","untrusted_product":"openemr","versions":[]}],"references":[{"url":"https://github.com/openemr/openemr/commit/2d8a69f0f343c8e8c6ee1b42d224c24a7a4ba415","tags":[]},{"url":"https://github.com/openemr/openemr/pull/11951","tags":[]},{"url":"https://github.com/openemr/openemr/releases/tag/v8_2_0","tags":[]},{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-hj9x-33vw-5g3x","tags":[]},{"url":"https://www.vulncheck.com/advisories/openemr-path-traversal-arbitrary-directory-deletion-via-standard-tables-manage-php","tags":[]}]}}