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

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 passes authenticated user-controlled HTML from the doclib.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.

Affected Software

1 affected component
OpenEMR OpenEMR<8.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenEMR to a version that resolves this vulnerability.

    Fixed in 8.5.0

Event History

Nov 13, 2026
CVE Published
via MITRE·09:35 AM
Data Sourced
via MITRE·09:35 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated patient or core user can exploit it. No user interaction is required.

2

What access does an attacker need to disclose files?

The attacker needs an account that can submit attacker-controlled HTML through the doc_lib.php content parameter. Crafted CSS imports or SVG references using php://filter can then cause the PDF renderer to read local server files.

3

Are installations on version 8.5.0 affected?

The issue affects OpenEMR versions before 8.5.0. The provided information does not identify any other affected version ranges or configuration prerequisites.

4

What data could be exposed?

An attacker may read arbitrary files accessible to the OpenEMR process, including credentials and OAuth keys. The vulnerability is a confidentiality issue; no integrity or availability impact is specified.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203