CVE-2026-126486
Description
OpenEMR before 8.5.0 contains a missing authorization vulnerability in portal/import_template.php, where several portal document template modes lack admin/forms ACL and CSRF checks. Any authenticated staff user can send mode=save_profiles to delete all template profile assignments, use other unguarded modes to push templates to patients or change categories, and read template bodies via mode=get or getPdf.
How to fix
- openemr openemr8.5.0 or later
- open-emr openemr8.5.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr openemr | v < 8.5.0 | 8.5.0 |
| open-emr openemr | v < 8.5.0 | 8.5.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.