CVE-2026-40506

MEDIUMPre-NVD 6.56.5
EchelonGraph scoreMEDIUM confidence

This medium-severity CVE scores 6.5 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 63% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:vulncheck, epss
Elevated
6.5EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 6.5Exploit: Elevated riskExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

CVSS v3
6.5
EG Score
6.5(medium)
EG Risk
45(Track)
EG Risk 45/100SSVC: Track

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
Severity65% × 45%
Exploitation40% × 40%
Automatability0% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
37%
KEV
Not listed

Published

August 17, 2026

Last Modified

August 21, 2026

Advisory Details (5)

Auto-updated Aug 17, 2026
🔬 Proof of concept available. Patch available. Sources: github_release, github_pr, github_commit, github.
generic

OpenEMR 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-php
github_commit Patch Available

commit 2d8a69f0f343 (openemr/openemr)

Patch available: openemr/openemr v8_2_0 (contains commit 2d8a69f0f343)

https://github.com/openemr/openemr/commit/2d8a69f0f343c8e8c6ee1b42d224c24a7a4ba415
github_pr Patch Available

fix(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/11951
github_release Patch Available

OpenEMR 8.2.0

Patch available: openemr/openemr v8_2_0

https://github.com/openemr/openemr/releases/tag/v8_2_0
github Patch Available🟡 PoC Available

/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-5g3x

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 12× in last 7d / 26× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. 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. Most recent first.

  1. 2026-08-30 01:22 UTCEPSS rescore
  2. 2026-08-29 10:24 UTCEG score recompute
  3. 2026-08-28 21:41 UTCEPSS rescore
  4. 2026-08-28 10:33 UTCEG score recompute
  5. 2026-08-27 14:25 UTCEPSS rescore
  6. 2026-08-27 10:37 UTCEG score recompute
  7. 2026-08-26 14:46 UTCEPSS rescore
  8. 2026-08-26 10:44 UTCEG score recompute
  9. 2026-08-25 13:49 UTCEPSS rescore
  10. 2026-08-25 10:53 UTCEG score recompute
  11. 2026-08-24 11:02 UTCEG score recompute
  12. 2026-08-23 11:11 UTCEG score recompute
  13. 2026-08-23 00:19 UTCEPSS rescore
  14. 2026-08-22 11:21 UTCEG score recompute
  15. 2026-08-21 23:49 UTCEPSS rescore
  16. 2026-08-21 11:30 UTCEG score recompute
  17. 2026-08-20 22:55 UTCEPSS rescore
  18. 2026-08-20 15:10 UTCEG score recompute
  19. 2026-08-19 17:03 UTCEPSS rescore
  20. 2026-08-19 15:19 UTCEG score recompute
  21. 2026-08-18 15:24 UTCEG score recompute
  22. 2026-08-18 15:08 UTCEG score recompute
  23. 2026-08-18 13:48 UTCEPSS rescore
  24. 2026-08-17 21:30 UTCEG score recompute
  25. 2026-08-17 20:45 UTCEG score recompute
Show 1 more
  1. 2026-08-17 20:44 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-40506?
CVE-2026-40506 is a medium vulnerability published on August 17, 2026. OpenEMR before 8.2.0 contains a path traversal vulnerability in the standardtablesmanage.php interface where the db GET parameter is passed without validation to tempdircleanup(), which joins the value to the PHP temporary directory path and recursively deletes the resulting directory. Attackers…
When was CVE-2026-40506 disclosed?
CVE-2026-40506 was first published in the National Vulnerability Database on August 17, 2026, with the most recent update on August 21, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-40506 actively exploited?
CVE-2026-40506 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 62.8% of all scored CVEs.
What is the CVSS score of CVE-2026-40506?
CVE-2026-40506 has a CVSS v4.0 base score of 6.5 (CNA self-assessment; NVD's own analysis pending).
How do I remediate CVE-2026-40506?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-40506, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-40506

Explore →

Is Your Infrastructure Affected by CVE-2026-40506?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.