CVE-2026-126428 OpenEMR before 8.5.0 RCE via Stored ERA Upload and Background Services
HighCVSS 7.7
EPSS 0.69%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- PHP
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.
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 |
|---|---|---|
| openemr | < 8.5.0 | 8.5.0 |
| open-emr openemr | < 8.5.0 | 8.5.0 |
References
- GitHub Security Advisory (GHSA-r6wm-8m2j-c3q9) exploit vendor-advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 RCE via Stored ERA Upload and Background Services third-party-advisory
- ENISA EUVD EUVD-2026-125015 third-party-advisory