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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| openemr | openemr | < 8.5.0 |
References
- https://github.com/openemr/openemr/security/advisories/GHSA-r6wm-8m2j-c3q9Exploit, Vendor Advisory
- https://www.vulncheck.com/advisories/openemr-before-8.5.0-rce-via-stored-era-upload-and-background-servicesThird Party Advisory
- https://github.com/openemr/openemr/security/advisories/GHSA-r6wm-8m2j-c3q9Exploit, Vendor Advisory
Timeline
- Published
- Nov 13, 2026
- Last modified
- Nov 17, 2026
- NVD status
- Analyzed