Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify OpenEMR instance and accessible DICOM/admin endpoints
-
DeliveryCraft open-redirect URL in dicom_frame.php embedding path-traversal db parameter
-
ExploitDeliver crafted link to Superuser via phishing or malicious page
-
InstallSuperuser clicks link while authenticated; browser follows open redirect
-
C2standard_tables_manage.php receives attacker-controlled db value
-
Executetemp_dir_cleanup() resolves traversal path and recursively deletes target directory
-
ImpactCritical EHR data or application files permanently destroyed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that (1) the target OpenEMR instance runs a version prior to 8.2.0 with the standard_tables_manage.php and dicom_frame.php endpoints accessible over the network; (2) an authenticated OpenEMR Superuser - the highest privilege role in the application - is actively logged in at the time of the attack; and (3) that Superuser can be induced to click or otherwise follow a crafted URL, typically via phishing, a compromised external page, or other social engineering. The attacker themselves requires no authentication or prior system access. Exploitation is constrained by: the mandatory social-engineering step targeting a Superuser specifically (not any authenticated user), the attacker's need to identify or guess a meaningful target directory path to delete, and the requirement that dicom_frame.php's open redirect is accessible and unfiltered. Non-default configurations that disable DICOM support or block external access to administrative PHP scripts would break the chain. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, score 7.0) contains an internal inconsistency that merits verification: PR:H reflects that Superuser-level session context is required for the deletion to execute, but UI:N contradicts the described attack mechanism, which explicitly requires a Superuser to follow a crafted link - this should map to UI:A (Active user interaction) in CVSS 4.0 terms. The vendor or NVD should be consulted for a corrected vector. Real-world exploitability is meaningfully gated by the social-engineering step: an attacker must successfully deliver a crafted URL to an actively authenticated Superuser, raising the practical bar compared to fully unauthenticated attacks. No EPSS score was provided and no CISA KEV listing exists, indicating neither statistically high exploitation probability nor confirmed in-the-wild abuse; however, the attack primitives (path traversal parameter injection and open redirect chaining) are well-understood, and the absence of a POC does not preclude private exploit development. The availability and integrity impact is severe and irreversible: recursive deletion of directories in a healthcare EHR can destroy patient records, application binaries, or database files, with downstream HIPAA and operational consequences. Despite the chained-exploit requirement, organizations running unpatched OpenEMR instances should treat this as urgent given the asymmetric damage potential. |
| Exploit ScenarioDerived | An attacker identifies an internet-exposed OpenEMR deployment running a version prior to 8.2.0, then constructs a phishing email or malicious web page containing a URL that uses the open redirect in dicom_frame.php to chain to standard_tables_manage.php?db=../../var/www/openemr/sites/default. When a Superuser with an active session clicks the link, their browser follows the redirect and their authenticated session causes temp_dir_cleanup() to recursively delete the targeted directory - potentially destroying site configuration, uploaded patient documents, or application data. No public proof-of-concept has been identified, but both exploit primitives are individually trivial and well-documented in the security community. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Recursive arbitrary directory deletion in OpenEMR before 8.2.0 is achievable by an unauthenticated attacker through a two-vulnerability chain: a path traversal flaw in standard_tables_manage.php allows the db GET parameter - passed unsanitized to temp_dir_cleanup() - to resolve outside the intended PHP temporary directory, while an open redirect in dicom_frame.php enables delivery of a crafted URL that triggers this deletion inside an authenticated Superuser's active session. The patch is confirmed in OpenEMR 8.2.0 (released 2026-07-08); no active exploitation (CISA KEV) or public proof-of-concept has been identified at time of analysis. The potential for irreversible mass deletion of patient records and EHR runtime data makes this a high-priority patching target despite the social-engineering prerequisite.
RemediationAI
The definitive fix is upgrading to OpenEMR 8.2.0 or later, released 2026-07-08 and available at https://github.com/openemr/openemr/releases/tag/v8_2_0; the specific patch is implemented in commit 2d8a69f0f343c8e8c6ee1b42d224c24a7a4ba415 via PR #11951 (https://github.com/openemr/openemr/pull/11951). For deployments where immediate upgrade is not feasible, administrators should restrict access to standard_tables_manage.php at the web server or network perimeter level (e.g., deny external access via Apache/nginx location rules or firewall ACLs), which prevents the open-redirect chain from reaching the vulnerable endpoint from untrusted networks - note this may block legitimate administrative workflows and should be tested. Independently, restricting or disabling the redirect functionality in dicom_frame.php severs the open redirect primitive that enables unauthenticated delivery; however, this may disrupt DICOM imaging features used in clinical workflows. As an interim behavioral control, Superusers should avoid clicking externally sourced links while authenticated, and session timeout policies should be tightened to reduce the window of vulnerability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OpenEMR is a widely deployed open-source EHR and medical practice management application written primarily in PHP, identified by CPE cpe:2.3:a:openemr:openemr:*:*:*:*:*:*:*:*. The vulnerable interface, standard_tables_manage.php, accepts a db GET parameter designed to identify a database-specific subdirectory within the PHP temporary directory. This value is passed without normalization, canonicalization, or allowlist validation to temp_dir_cleanup(), which constructs a filesystem path by concatenating the PHP temp directory with the attacker-supplied string and performs a recursive delete. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) captures this root cause precisely: without stripping or rejecting sequences such as ../../, the resolved path escapes the intended sandbox boundary. A second, independent vulnerability in dicom_frame.php - part of OpenEMR's DICOM medical imaging support - provides an open redirect that allows an external attacker to craft a URL which, when visited by a Superuser, silently navigates that session to the vulnerable endpoint with attacker-controlled parameters, bypassing the apparent need for the attacker themselves to hold a privileged session.
Know when Openemr gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Attacker is unauthenticated (PR:N) but must social-engineer a Superuser via open redirect (UI:R); chaining two vulnerabilities raises complexity (AC:H); impact is integrity and availability only - no data disclosure occurs.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
OpenEMR before version 8.2.0 contains a critical vulnerability allowing attackers to delete patient records and EHR system files through a combination of path traversal and social engineering targeting administrator accounts; no public exploit identified at time of analysis. Healthcare organizations using vulnerable versions face irreversible data loss and regulatory non-compliance.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to
Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.
Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.
Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the
SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the
OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par
Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.
Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so
interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel
interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication
Authentication bypass vulnerability in portal/account/register.php in versions of OpenEMR before 5.0.1.4 allows a remote
EUVD-2026-60396
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB