OpenEMR patient data exposure in portal template downloads
openemr
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openemr openemr |
|
|
Original 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.
From the CVE record · VulnCheck
References
- github.com/openemr/openemr/security/advisories/GHSA-vc2h-x8xf-8jcvVendor advisory
- vulncheck.com/advisories/openemr-before-8.5.0-authorization-bypass-via-portal-lib-download-template-phpAdvisory
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126437.json
- nvd.nist.gov/vuln/detail/CVE-2026-126437