OpenEMR code execution via ERA uploads and background services
openemr
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openemr openemr |
|
|
Original 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.
From the CVE record · VulnCheck
References
- github.com/openemr/openemr/security/advisories/GHSA-r6wm-8m2j-c3q9Vendor advisory
- vulncheck.com/advisories/openemr-before-8.5.0-rce-via-stored-era-upload-and-background-servicesAdvisory
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126428.json
- nvd.nist.gov/vuln/detail/CVE-2026-126428