GHSA-phvv-q7m7-8mc2: OpenEMR before 8.5.0 Missing Authorization via portal/import_template.php

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 contains a missing authorization vulnerability in portal/importtemplate.php, where several portal document template modes lack admin/forms ACL and CSRF checks. Any authenticated staff user can send mode=saveprofiles 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.

Affected Software

1 affected component
OpenEMR OpenEMR<8.5.0

Event History

Nov 13, 2026
CVE Published
via OSV·09:34 AM
Data Sourced
via OSV·09:34 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which users can exploit this issue?

Any authenticated OpenEMR staff user can exploit the unguarded portal document template modes. Administrative or forms-specific ACL permissions are not required for the affected actions.

2

What access does an attacker need?

The attacker needs valid authenticated staff access and network access to the affected OpenEMR instance. No user interaction is required.

3

What actions can exploitation enable?

An authenticated staff user can delete all template profile assignments with mode=save_profiles, push templates to patients, change template categories, and read template bodies using mode=get or mode=getPdf.

4

How can I determine whether my deployment is affected?

Deployments running OpenEMR versions before 8.5.0 are affected. Review whether portal/import_template.php is reachable by authenticated staff users and inspect template profile assignments, patient template delivery, category changes, and template reads for unexpected activity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203