CVE-2026-126437
OpenEMR before 8.5.0 Authorization Bypass via portal/lib/download_template.php
7.1
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| openemr | openemr | 0 → <8.5.0 | 8.5.0 | CVE.org |
| openemr | open-emr | <8.5.0 | 8.5.0 | NVD |