Skip to content
Heist/ feed
High

OpenEMR Path Traversal Arbitrary Directory Deletion via standard_tables_manage.php

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-40506

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-40506

openemr

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/openemr/openemr",
    "vendor": "openemr",
    "product": "openemr",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "8.2.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:github/openemr/openemr",
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-40506

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#5423 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement