CVE-2026-40506

MEDIUMPre-NVD 6.56.5
EchelonGraph scoreMEDIUM confidence

“—” 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.

Triggered by: Headline CVSS from the CNA's CVSS
Sources: the CNA's CVSS, EPSS
Elevated
6.5EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines (the SSVC decision on this page).
  • CISA's Vulnrichment rates exploitation as PoC; EchelonGraph holds no exploit-code reference for it
CISA-KEV: Not listedEPSS PROB: 0.7%CVSS: 6.5Exploit: No code on recordExposed services: Not assessed

A fix is available — apply it.

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.5MEDIUMmedium confidence
EG Risk
45
EG 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, 2026
Patch available. Sources: github_release, github_pr, github_commit, github.
Web page

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 pull request 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 advisoryMentions a patch (unverified)

/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 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.

  1. 2026-10-13 16:34 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  2. 2026-10-12 16:34 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  3. 2026-10-12 16:09 UTCEG score recompute
  4. 2026-10-11 19:51 UTCEG score recompute
  5. 2026-10-11 17:05 UTCEG score recompute
  6. 2026-10-11 14:31 UTCEG score recompute
  7. 2026-10-11 13:48 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  8. 2026-10-10 20:00 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  9. 2026-10-09 20:07 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  10. 2026-10-08 17:12 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  11. 2026-10-07 23:48 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  12. 2026-10-07 08:52 UTCEG score recompute
  13. 2026-10-06 15:17 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  14. 2026-10-06 09:01 UTCEG score recompute
  15. 2026-10-05 17:43 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  16. 2026-10-04 23:22 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  17. 2026-10-03 17:46 UTCEG score recompute
  18. 2026-10-03 14:25 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  19. 2026-10-02 15:44 UTCEG score recompute
  20. 2026-10-01 19:50 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  21. 2026-10-01 15:29 UTCEG score recompute
  22. 2026-10-01 09:49 UTCEG score recompute
  23. 2026-09-30 15:03 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  24. 2026-09-30 09:58 UTCEG score recompute
  25. 2026-09-29 07:46 UTCEG score recompute
Show 74 more
  1. 2026-09-28 07:56 UTCEG score recompute
  2. 2026-09-27 13:48 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  3. 2026-09-27 08:05 UTCEG score recompute
  4. 2026-09-26 15:58 UTCEPSS rescoreEPSS 0.7% · 51st percentile
  5. 2026-09-25 02:00 UTCEG score recompute
  6. 2026-09-23 23:38 UTCEG score recompute
  7. 2026-09-23 17:53 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  8. 2026-09-22 23:47 UTCEG score recompute
  9. 2026-09-21 23:45 UTCEG score recompute
  10. 2026-09-20 23:53 UTCEG score recompute
  11. 2026-09-20 20:15 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  12. 2026-09-20 00:01 UTCEG score recompute
  13. 2026-09-19 00:10 UTCEG score recompute
  14. 2026-09-18 19:28 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  15. 2026-09-18 00:18 UTCEG score recompute
  16. 2026-09-17 19:30 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  17. 2026-09-16 23:05 UTCEG score recompute
  18. 2026-09-16 14:08 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  19. 2026-09-16 05:15 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  20. 2026-09-15 19:57 UTCEG score recompute
  21. 2026-09-15 03:11 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  22. 2026-09-13 20:14 UTCEG score recompute
  23. 2026-09-13 16:47 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  24. 2026-09-12 20:23 UTCEG score recompute
  25. 2026-09-12 15:01 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  26. 2026-09-11 20:32 UTCEG score recompute
  27. 2026-09-11 14:53 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  28. 2026-09-11 09:37 UTCEPSS rescoreEPSS 0.6% · 44th percentile
  29. 2026-09-10 20:41 UTCEG score recompute
  30. 2026-09-10 09:34 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  31. 2026-09-09 20:50 UTCEG score recompute
  32. 2026-09-09 03:38 UTCEG score recompute
  33. 2026-09-08 22:00 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  34. 2026-09-07 16:01 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  35. 2026-09-07 10:32 UTCEG score recompute
  36. 2026-09-06 13:47 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  37. 2026-09-06 09:40 UTCEG score recompute
  38. 2026-09-05 09:50 UTCEG score recompute
  39. 2026-09-04 09:59 UTCEG score recompute
  40. 2026-09-04 05:06 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  41. 2026-09-03 10:08 UTCEG score recompute
  42. 2026-09-02 14:12 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  43. 2026-09-02 10:15 UTCEG score recompute
  44. 2026-09-01 13:53 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  45. 2026-09-01 10:08 UTCEG score recompute
  46. 2026-09-01 04:39 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  47. 2026-08-31 10:17 UTCEG score recompute
  48. 2026-08-30 19:17 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  49. 2026-08-30 10:15 UTCEG score recompute
  50. 2026-08-30 01:22 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  51. 2026-08-29 10:24 UTCEG score recompute
  52. 2026-08-28 21:41 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  53. 2026-08-28 10:33 UTCEG score recompute
  54. 2026-08-27 14:25 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  55. 2026-08-27 10:37 UTCEG score recompute
  56. 2026-08-26 14:46 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  57. 2026-08-26 10:44 UTCEG score recompute
  58. 2026-08-25 13:49 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  59. 2026-08-25 10:53 UTCEG score recompute
  60. 2026-08-24 11:02 UTCEG score recompute
  61. 2026-08-23 11:11 UTCEG score recompute
  62. 2026-08-23 00:19 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  63. 2026-08-22 11:21 UTCEG score recompute
  64. 2026-08-21 23:49 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  65. 2026-08-21 11:30 UTCEG score recompute
  66. 2026-08-20 22:55 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  67. 2026-08-20 15:10 UTCEG score recompute
  68. 2026-08-19 17:03 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  69. 2026-08-19 15:19 UTCEG score recompute
  70. 2026-08-18 15:24 UTCEG score recompute
  71. 2026-08-18 15:08 UTCEG score recompute
  72. 2026-08-18 13:48 UTCEPSS rescoreEPSS 0.4% · 37th percentile
  73. 2026-08-17 21:30 UTCEG score recompute
  74. 2026-08-17 20:45 UTCEG score recomputeFirst assessed: 6.5 MEDIUM

Frequently asked(5)

What is CVE-2026-40506?
CVE-2026-40506 is a medium-severity vulnerability; its CVE record was 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 made public?
CVE-2026-40506 was made public on May 1, 2026: that is the date its CVE record's CNA, VulnCheck, gives for when the vulnerability was made public. The CVE record itself was published on August 17, 2026. EchelonGraph's copy of the record carries a last-modified date of October 1, 2026; the record at its source may have been updated since.
Is CVE-2026-40506 actively exploited?
CVE-2026-40506 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.7% probability of exploitation in the next 30 days (51st percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2026-40506?
CVE-2026-40506 has a CVSS base score of 6.5 (the CNA's own assessment, by vulncheck; NVD's own analysis pending).
How do I remediate CVE-2026-40506?
A fix for CVE-2026-40506 is available: update to the fixed version the vendor names in its advisory.

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.