{"id":"CVE-2026-40506","aliases":["CVE-2026-40506"],"related":[],"kind":"vulnerability","state":"published","title":"OpenEMR Path Traversal Arbitrary Directory Deletion via standard_tables_manage.php","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-17T20:39:03.333Z","modified":"2026-11-08T14:02:52.316Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"8.2.0","status":"affected"}],"vendor":"openemr","product":"openemr","repo":"https://github.com/openemr/openemr","source":"cvelist"}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-hj9x-33vw-5g3x","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openemr/openemr/releases/tag/v8_2_0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openemr/openemr/pull/11951","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openemr/openemr/commit/2d8a69f0f343c8e8c6ee1b42d224c24a7a4ba415","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/openemr-path-traversal-arbitrary-directory-deletion-via-standard-tables-manage-php","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Alex Williams from Pellera Technologies"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-18T14:58:45.772Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40506","url":"https://www.cve.org/CVERecord?id=CVE-2026-40506","licence":"CVE Terms of Use","modified":"2026-11-08T14:02:52.316Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40506","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40506","licence":"Public domain","modified":"2026-09-09T20:40:01.933Z"}],"updatedAt":"2026-11-25T22:59:33.389Z","epss":{"score":0.00552,"percentile":0.47505,"date":"2026-12-01T12:00:22.000Z"}}