Skip to content

CVE-2026-126429 OpenEMR before 8.5.0 Local File Disclosure via doc_lib.php PDF Renderer

HighCVSS 7.1 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
PHP

Description

OpenEMR before 8.5.0 passes authenticated user-controlled HTML from the doc_lib.php content parameter to mPDF, which resolves local files and nested SVG resources. Authenticated patients or core users can submit crafted CSS imports or php://filter SVG references to read arbitrary server files including credentials and OAuth keys.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
open-emr openemr < 8.5.0 8.5.0 Fixed
openemr < 8.5.0 8.5.0 Fixed

Affected products

ProductAffected versionsFixed in
open-emr openemr < 8.5.0 8.5.0
openemr < 8.5.0 8.5.0

References