CVE-2026-126428 — openemr
One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.
PHPWebDatabasesVulnerabilitiesResearch article
OpenEMR Remote Code Execution Vulnerability in Versions Before 8.5.0
| CVE | CVE-2026-126428 |
|---|---|
| Vendor and product | openemr |
| Published | November 24, 2026 18:20 UTC |
| Research cut-off | November 24, 2026 17:30 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-17); CISA KEV catalog; FIRST EPSS (2026-11-24) |
Executive summary
CVE-2026-126428 impacts OpenEMR versions prior to 8.5.0, enabling authenticated users to upload malicious files that can be executed with web-server privileges [1]. The CVSS 3.1 score is 7.5 HIGH, assigned by disclosure@vulncheck.com [1]. The reviewed sources do not confirm any exploitation [2]. The recommended action is to update to the fixed version 8.5.0 [1].
Key points
- CVE-2026-126428 affects OpenEMR versions before 8.5.0 [1].
- The CVSS 3.1 score is 7.5 HIGH, assigned by disclosure@vulncheck.com [1].
- The reviewed sources do not confirm any exploitation [2].
- The vulnerability allows authenticated users to upload malicious files and execute PHP code as the web-server user [1].
- The fixed version is 8.5.0 [1].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-126428 |
| Vendor | OpenEMR |
| Product | OpenEMR |
| CWE | CWE-434 (Unrestricted Upload of File with Dangerous Type) |
| CVSS 4.0 | 7.7 HIGH, scored by disclosure@vulncheck.com (Secondary) |
| CVSS 3.1 | 7.5 HIGH, scored by disclosure@vulncheck.com (Secondary) |
| Published Date | 2026-11-13T10:17:49 |
| Last Modified Date | 2026-11-17T21:06:41 |
| Record Status | Analyzed |
Vulnerability description
A remote code execution flaw exists in OpenEMR versions before 8.5.0, allowing authenticated billing users to upload attacker-controlled PHP code through a malformed ERA file to the erapayments.php endpoint [1]. If an attacker has access to database-write capabilities, such as SQL injection, they can create a backgroundservices entry that triggers the loading of the stored .edi file, executing PHP code as the web-server user [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates that the vulnerability requires network access (AV:N), a high level of attack complexity (AC:H), and a privileged user (PR:L) with no user interaction (UI:N). The attacker must have access to a database-write primitive, like SQL injection, to take advantage of the backgroundservices route [1].
Impact analysis
The CVSS vector highlights a high impact on confidentiality (C:H), integrity (I:H), and availability (A:H). This flaw enables attackers to run arbitrary PHP code as the web-server user [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| openemr < 8.5.0 | 8.5.0 |
Exploitation and threat intelligence status
CVE-2026-126428 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-24 [2]. The EPSS score for this CVE is 0.0069 (0.69%), indicating a low likelihood of exploitation within the next 30 days [3].
Detection and exposure assessment
To check if an organization is vulnerable, verify that the installed version of OpenEMR is less than 8.5.0 [1]. The sources do not provide specific detection procedures.
Remediation
The fixed version for this vulnerability is 8.5.0 [1]. No mitigation strategies are detailed in the reviewed sources.
Remediation checklist
- Upgrade OpenEMR to version 8.5.0, the fixed version listed in the record [1].
- Secure database access to prevent SQL injection and other database-write primitives (general defensive guidance, not stated in the record).
- Monitor system logs for unusual file upload activity and background service interactions (general defensive guidance, not stated in the record).
Evidence gaps
- The sources do not describe the technical mechanics of how the ERA file is uploaded and executed [1].
- The sources do not provide indicators of compromise for this vulnerability [1].
- The sources do not mention any workarounds or compensating controls [1].
- The sources do not describe the internal workings of the affected component [1].
References
- CVE-2026-126428 record. NIST National Vulnerability Database (NVD), 2026-11-17. https://nvd.nist.gov/vuln/detail/CVE-2026-126428. Accessed 2026-11-24.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24.
- EPSS score for CVE-2026-126428. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-126428. Accessed 2026-11-24.
Summary
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.
Severity breakdown
High · 7.7
An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-434: Unrestricted Upload of File with Dangerous Type
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | < 8.5.0 | 8.5.0 |
Public exploits
Exploit available
References by type
Other references
Affected
- openemr
Frequently asked questions
What is CVE-2026-126428?
CVE-2026-126428 impacts OpenEMR versions prior to 8.5.0, enabling authenticated users to upload malicious files that can be executed with web-server privileges. The CVSS 3.1 score is 7.5 HIGH, assigned by disclosure@vulncheck.com. The reviewed sources do not confirm any exploitation. The recommended action is to update to the fixed version 8.5.0. Weakness type: Unrestricted Upload of File with Dangerous Type (CWE-434).
How severe is CVE-2026-126428?
CVE-2026-126428 has a CVSS 4.0 base score of 7.7 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-126428 being exploited?
Not as far as is known: CVE-2026-126428 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 0.8% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126428?
openemr < 8.5.0 (fixed in 8.5.0).
How do I fix CVE-2026-126428?
Upgrade OpenEMR to version 8.5.0, the fixed version listed in the record. Secure database access to prevent SQL injection and other database-write primitives (general defensive guidance, not stated in the record). Monitor system logs for unusual file upload activity and background service interactions (general defensive guidance, not stated in the record).
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-138223 — David-Crty Databasement
- Contact form plugin for WordPress: unauthenticated arbitrary file upload via copyfiles (CVE-2026-115867)
- WP STAGING Plugin Vulnerable to Authorization Bypass [CVE-2026-109586]
- GeoDirectory Plugin Vulnerable to SQL Injection via Unsanitized Input
- CVE-2026-135641 — wpjobportal WP Job Portal – AI-Powered Recruitment System for Company or Job Board website