OpenEMR before 8.5.0 RCE via Stored ERA Upload and Background Services
- State
- Published
- Severity
- 7.7 High
- Published
- Nov 13, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 10, 2026
Description
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 era_payments.php. Attackers with a database-write primitive such as SQL injection can register a background_services row whose require_once loads the stored .edi file, executing PHP as the web-server user.
| Product | Versions |
|---|---|
| openemr openemr | before 8.5.0 Affected8.5.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
- GitHub Security Advisory (GHSA-r6wm-8m2j-c3q9)Vendor Advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 RCE via Stored ERA Upload and Background ServicesThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.