PatchSiren cyber security CVE debrief
CVE-2026-40506 openemr CVE debrief
CVE-2026-40506 is a path traversal vulnerability in OpenEMR before version 8.2.0. The vulnerability exists in the standard_tables_manage.php interface where the db GET parameter is passed without validation to temp_dir_cleanup(). This allows attackers to supply a traversal sequence in the db parameter to resolve outside the intended temporary directory. 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.
- Vendor
- openemr
- Product
- Unknown
- CVSS
- HIGH 7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-17
- Original CVE updated
- 2026-09-09
- Advisory published
- 2026-08-17
- Advisory updated
- 2026-09-09
Who should care
Defenders responsible for OpenEMR installations, particularly those using versions prior to 8.2.0, should assess exposure and prioritize patching to prevent directory traversal attacks.
Why it matters
CVE-2026-40506 is a path traversal vulnerability in OpenEMR before version 8.2.0 that allows for arbitrary directory deletion. Defenders should prioritize verifying OpenEMR versions and applying patches to prevent directory traversal attacks. The vulnerability can be chained with an open redirect to escalate impact. Evidence is limited, and further verification is required to determine the scope of affected versions and potential impact.
- Potential for arbitrary directory deletion within an authenticated session
- Risk of data loss and system compromise
- Need for verification of OpenEMR version and patch application
- Potential for chaining with other vulnerabilities to escalate impact
Technical summary
The vulnerability exists in the standard_tables_manage.php interface of OpenEMR before version 8.2.0. The db GET parameter is passed without validation to temp_dir_cleanup(), allowing attackers to supply a traversal sequence and resolve outside the intended temporary directory. Chaining this with an open redirect in dicom_frame.php enables an unauthenticated attacker to deliver a crafted URL that triggers arbitrary recursive directory deletion within an authenticated Superuser's session.
Defensive priority
Defenders should prioritize verifying OpenEMR versions and applying patches to prevent directory traversal attacks.
Recommended defensive actions
- Verify OpenEMR version and apply patch to prevent directory traversal attacks
- Review and restrict access to standard_tables_manage.php and dicom_frame.php interfaces
- Monitor for suspicious activity and implement compensating controls
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, but the scope of affected versions and potential impact require further verification. Evidence is limited, and defenders should verify OpenEMR versions, review standard_tables_manage.php and dicom_frame.php interfaces, and monitor for suspicious activity. The vulnerability can be chained with an open redirect to escalate impact, and defenders should prioritize patching to prevent directory traversal attacks.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-40506 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-40506
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-40506 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-40506
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/openemr/openemr/commit/2d8a69f0f343c8e8c6ee1b42d224c24a7a4ba415
-
Source reference
Unverified legacy reference
URL: https://github.com/openemr/openemr/pull/11951
-
Source reference
Unverified legacy reference
URL: https://github.com/openemr/openemr/releases/tag/v8_2_0
-
Source reference
Unverified legacy reference
URL: https://github.com/openemr/openemr/security/advisories/GHSA-hj9x-33vw-5g3x
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/openemr-path-traversal-arbitrary-directory-deletion-via-standard-tables-manage-php
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.