Back to CVE records
Medium 6.5HealthcarePublished Aug 17, 2026

CVE-2026-40506OpenEMR Path Traversal Arbitrary Directory Deletion via standard_tables_manage.php

Updated under an hour ago ()

Does this affect you?

It affects openemr. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 0.70%, higher than 52% of scored CVEs.

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
6.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
Weakness (CWE)
CWE-22
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
0.70% (percentile 52)
Assigned by
VulnCheck
NVD analysis
Deferred
Record last updated
Oct 1, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
openemr openemr
openemr:openemr (from the name)
before 8.2.0
CNA record

References

  • vendor-advisory
  • release-notes
  • issue-tracking
  • patch
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.