CVE-2026-126428: OpenEMR before 8.5.0 RCE via Stored ERA Upload and Background Services

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 contains a remote code execution vulnerability that allows authenticated billing users to store attacker-controlled PHP by uploading a malformed ERA file to erapayments.php. Attackers with a database-write primitive such as SQL injection can register a backgroundservices row whose requireonce loads the stored .edi file, executing PHP as the web-server user.

Affected Software

1 affected component
OpenEMR OpenEMR<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 user with billing privileges can upload a malformed ERA file containing attacker-controlled PHP. To reach code execution, the attacker also needs a database-write primitive, such as SQL injection, to create or modify a background_services row.

2

Does uploading the malicious ERA file alone execute code?

No. The uploaded .edi file is executed only after a background service is registered so that its require_once loads that stored file.

3

What privileges does successful code execution have?

The attacker-controlled PHP executes as the web-server user.

4

Which versions are affected?

OpenEMR versions before 8.5.0 are affected.

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