CVE-2026-126437 — openemr
One of 80 openemr vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesSummary
OpenEMR before 8.5.0 contains an authorization bypass vulnerability in portal/lib/download_template.php that allows any authenticated core user to render documents for arbitrary patients by setting isModule. Attackers can submit arbitrary pid and template_id values to disclose patient names, birth dates, chart IDs, addresses, allergies, medications, and problem lists despite ACL and squad restrictions.
Severity breakdown
High · 7.1
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
- CWE-639: Authorization Bypass Through User-Controlled Key
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | < 8.5.0 | 8.5.0 |
References by type
Vendor advisories
Other references
Affected
- openemr
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-126437?
OpenEMR before 8.5.0 contains an authorization bypass vulnerability in portal/lib/downloadtemplate.php that allows any authenticated core user to render documents for arbitrary patients by setting isModule. Attackers can submit arbitrary pid and templateid values to disclose patient names, birth dates, chart IDs, addresses, allergies, medications, and problem lists despite ACL and squad restrictions. Weakness type: Authorization Bypass Through User-Controlled Key (CWE-639).
How severe is CVE-2026-126437?
CVE-2026-126437 has a CVSS 4.0 base score of 7.1 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-126437 being exploited?
Not as far as is known: CVE-2026-126437 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126437?
openemr < 8.5.0 (fixed in 8.5.0).
How do I fix CVE-2026-126437?
Update to a fixed release: openemr 8.5.0.