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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open-emr openemr | < 8.5.0 | 8.5.0 | Fixed |
| openemr | < 8.5.0 | 8.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| open-emr openemr | < 8.5.0 | 8.5.0 |
| openemr | < 8.5.0 | 8.5.0 |
References
- GitHub Security Advisory (GHSA-h4xc-pqg3-8459) exploit mitigation vendor-advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 Local File Disclosure via doc_lib.php PDF Renderer third-party-advisory
- ENISA EUVD EUVD-2026-125014 third-party-advisory