CVE-2026-126486

OpenEMR before 8.5.0 Missing Authorization via portal/import_template.php

Published Nov 13, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

OpenEMR versions before 8.5.0 suffer from a missing authorization flaw in portal/import_template.php. The script lacks required admin/forms access control and CSRF checks for several template‑handling modes. As a result, any authenticated staff user can trigger dangerous operations: sending mode=save_profiles can delete all template profile assignments; other unguarded modes allow pushing templates directly to patients, changing template categories, and reading template contents through mode=get or getPdf. This enables privilege escalation, data manipulation, and potential disclosure of confidential template information.

Affected Systems

The vulnerability affects the OpenEMR product from the openemr vendor for all releases prior to version 8.5.0.

Risk and Exploitability

With a CVSS score of 7.2 the issue is considered Moderate‑High impact, yet the EPSS score of < 1% suggests low current exploitation likelihood. The attack requires only an authenticated staff account, so any user with valid login credentials can exploit the fault. Because the vulnerability is not listed in CISA’s KEV catalog, there is no evidence of widespread active exploitation, but the breadth of manipulation makes remediation critical.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.5.0 or later, which removes the missing authorization checks for portal/import_template.php.
  • Restrict staff user roles to the minimum permissions required for portal functions, ensuring that only users who need template management retain the ability to access that module.
  • Implement CSRF protection and enforce admin/forms ACL checks on all remaining template handling endpoints to block unauthorized requests until a patch can be applied.

Generated by OpenCVE AI on November 14, 2026 at 16:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr
Type Values Removed Values Added
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.
Title OpenEMR before 8.5.0 Missing Authorization via portal/import_template.php
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-862
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 8:41 PM
Reserved
Nov 10, 2026, 9:44 PM
Status
Analyzed
Published
Nov 13, 2026, 10:17 AM
Modified
Nov 17, 2026, 9:17 PM