CVE-2026-126429
Awaiting Analysis Awaiting Analysis - Queue

Authenticated File Read via mPDF in OpenEMR

Vulnerability report for CVE-2026-126429, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
openemr openemr to 8.5.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Local File Disclosure vulnerability in OpenEMR versions before 8.5.0. Authenticated users can pass malicious HTML content through the doc_lib.php parameter to the mPDF library, which then resolves local files and nested SVG resources. Attackers can use crafted CSS imports or php://filter SVG references to read arbitrary server files including credentials and OAuth keys.

Detection Guidance

Check OpenEMR version with: grep -r "version" /var/www/html/openemr/library/version.php. If version is below 8.5.0, the system is vulnerable. Inspect doc_lib.php and PatientPortalPDFDocumentCreator.php for user-controlled HTML handling. Monitor server logs for unusual PDF generation requests or file access patterns.

Impact Analysis

An attacker with authenticated access can read sensitive files on the server such as credentials, OAuth keys, configuration files, or user data. This could lead to further attacks like account takeover, data theft, or service disruption. Memory exhaustion is also possible through excessive php://filter chains.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive personal data, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Organizations may face compliance violations, legal penalties, and reputational damage if exploited.

Mitigation Strategies

Upgrade OpenEMR to version 8.5.0 or later immediately. Disable or restrict access to the doc_lib.php PDF renderer until patched. Implement strict input validation for HTML content passed to mPDF. Remove restoration of original <style> blocks in PDF generation code.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126429. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...