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.
CVE-2026-40506
“—” beside the score: it is equal to the CVSS score beside it.
This medium-severity CVE scores 6.5 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit probability: 0.7% (51st percentile of EPSS-scored CVEs). No GitHub Security Advisory CVSS is on record for this CVE.
- CISA's Vulnrichment rates exploitation as PoC; EchelonGraph holds no exploit-code reference for it
A fix is available — apply it.
- CVSS v3
- 6.5
- EG Score
- 6.5MEDIUMmedium confidence
- EG Risk
- 45EG Risk 45/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computed (value × EchelonGraph’s weight)Severity65% × 45%The EG Score, 6.5 of 10.Exploitation40% × 40%EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.Automatability0% × 15%CISA's SSVC Automatable value: no (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.7%
- EPSS %ILE
- 51st
- KEV
- Not listed
SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation public PoC (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)60 days if the affected system is publicly exposed; Fix on system upgrade if it is not.
In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
August 17, 2026
Last Modified
October 1, 2026
Advisory Details (5)
Auto-updated Aug 17, 2026OpenEMR Path Traversal Arbitrary Directory Deletion via standard_tables_manage.php | Advisories | VulnCheck
https://www.vulncheck.com/advisories/openemr-path-traversal-arbitrary-directory-deletion-via-standard-tables-manage-phpcommit 2d8a69f0f343 (openemr/openemr)
Patch available: openemr/openemr v8_2_0 (contains commit 2d8a69f0f343)
https://github.com/openemr/openemr/commit/2d8a69f0f343c8e8c6ee1b42d224c24a7a4ba415fix(security): validate db parameter in standard_tables_manage
Patch available: openemr/openemr v8_2_0 (PR #11951 merged 2026-05-01)
https://github.com/openemr/openemr/pull/11951OpenEMR 8.2.0
Patch available: openemr/openemr v8_2_0
https://github.com/openemr/openemr/releases/tag/v8_2_0/interface/code_systems/standard_tables_manage.php db Directory Traversal to Arbitrary File Deletion · Advisory · openemr/openemr · GitHub
https://github.com/openemr/openemr/security/advisories/GHSA-hj9x-33vw-5g3xWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 46× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 99 of 100 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 1 repeat row among the latest 100 is merged into the row it repeats. The 1 oldest row on record is not shown and was not checked, so the counts can still include repeats.
- 2026-10-13 16:34 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-12 16:34 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-12 16:09 UTCEG score recompute
- 2026-10-11 19:51 UTCEG score recompute
- 2026-10-11 17:05 UTCEG score recompute
- 2026-10-11 14:31 UTCEG score recompute
- 2026-10-11 13:48 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-10 20:00 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-09 20:07 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-08 17:12 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-07 23:48 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-07 08:52 UTCEG score recompute
- 2026-10-06 15:17 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-06 09:01 UTCEG score recompute
- 2026-10-05 17:43 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-04 23:22 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-03 17:46 UTCEG score recompute
- 2026-10-03 14:25 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-02 15:44 UTCEG score recompute
- 2026-10-01 19:50 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-10-01 15:29 UTCEG score recompute
- 2026-10-01 09:49 UTCEG score recompute
- 2026-09-30 15:03 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-09-30 09:58 UTCEG score recompute
- 2026-09-29 07:46 UTCEG score recompute
Show 74 moreShow fewer
- 2026-09-28 07:56 UTCEG score recompute
- 2026-09-27 13:48 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-09-27 08:05 UTCEG score recompute
- 2026-09-26 15:58 UTCEPSS rescoreEPSS 0.7% · 51st percentile
- 2026-09-25 02:00 UTCEG score recompute
- 2026-09-23 23:38 UTCEG score recompute
- 2026-09-23 17:53 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-22 23:47 UTCEG score recompute
- 2026-09-21 23:45 UTCEG score recompute
- 2026-09-20 23:53 UTCEG score recompute
- 2026-09-20 20:15 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-20 00:01 UTCEG score recompute
- 2026-09-19 00:10 UTCEG score recompute
- 2026-09-18 19:28 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-18 00:18 UTCEG score recompute
- 2026-09-17 19:30 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-16 23:05 UTCEG score recompute
- 2026-09-16 14:08 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-16 05:15 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-15 19:57 UTCEG score recompute
- 2026-09-15 03:11 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-13 20:14 UTCEG score recompute
- 2026-09-13 16:47 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-12 20:23 UTCEG score recompute
- 2026-09-12 15:01 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-11 20:32 UTCEG score recompute
- 2026-09-11 14:53 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-11 09:37 UTCEPSS rescoreEPSS 0.6% · 44th percentile
- 2026-09-10 20:41 UTCEG score recompute
- 2026-09-10 09:34 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-09 20:50 UTCEG score recompute
- 2026-09-09 03:38 UTCEG score recompute
- 2026-09-08 22:00 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-07 16:01 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-07 10:32 UTCEG score recompute
- 2026-09-06 13:47 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-06 09:40 UTCEG score recompute
- 2026-09-05 09:50 UTCEG score recompute
- 2026-09-04 09:59 UTCEG score recompute
- 2026-09-04 05:06 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-03 10:08 UTCEG score recompute
- 2026-09-02 14:12 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-02 10:15 UTCEG score recompute
- 2026-09-01 13:53 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-09-01 10:08 UTCEG score recompute
- 2026-09-01 04:39 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-31 10:17 UTCEG score recompute
- 2026-08-30 19:17 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-30 10:15 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-29 10:24 UTCEG score recompute
- 2026-08-28 21:41 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-28 10:33 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-27 10:37 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-26 10:44 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-25 10:53 UTCEG score recompute
- 2026-08-24 11:02 UTCEG score recompute
- 2026-08-23 11:11 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-22 11:21 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-21 11:30 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-20 15:10 UTCEG score recompute
- 2026-08-19 17:03 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-19 15:19 UTCEG score recompute
- 2026-08-18 15:24 UTCEG score recompute
- 2026-08-18 15:08 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescoreEPSS 0.4% · 37th percentile
- 2026-08-17 21:30 UTCEG score recompute
- 2026-08-17 20:45 UTCEG score recomputeFirst assessed: 6.5 MEDIUM
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-40506?
When was CVE-2026-40506 made public?
Is CVE-2026-40506 actively exploited?
What is the CVSS score of CVE-2026-40506?
How do I remediate CVE-2026-40506?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-40506
Is Your Infrastructure Affected by CVE-2026-40506?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.