Skip to main content

OpenEMR CVE-2026-126486

| EUVDEUVD-2026-124938 HIGH
Missing Authorization (CWE-862)
2026-11-13 VulnCheck GHSA-mvff-cgm7-frvw
7.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege staff
  2. Delivery
    Capture core session cookie
  3. Exploit
    POST mode=save_profiles with profiles=[]
  4. Execution
    Trigger unguarded DELETE on document_template_profiles
  5. Impact
    Wipe all portal template assignments

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two concrete conditions stated in the advisory: (1) a valid authenticated OpenEMR staff account able to load a normal core session - even a low-privilege role such as Front Office suffices, because the intended admin/forms ACL is not enforced; and (2) the patient portal must be enabled via the portal_onsite_two_enable setting, since the vulnerable endpoint is portal/import_template.php. The affected modes (save_profiles, send_profiles, send, update_category, get, getPdf) run with no admin/forms ACL check and no CSRF token requirement, in contrast to mode=save which is correctly guarded. Limiting factors for defenders: the attacker needs working staff credentials (not pre-auth), the portal feature must be on, and note that the destructive save_profiles path returns a 'Profiles save failed' error message even though the DELETE has already executed - an error response does NOT mean data is safe.

Impact

This is a genuine but bounded priority rather than an internet-facing emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) and base score of 7.2 (HIGH) show a network-reachable, low-complexity flaw that nonetheless requires an authenticated staff session (PR:L) - so it is not a pre-auth mass-exploitation candidate. The dominant impact is integrity (VI:H): any low-privilege staff user can unconditionally wipe all portal document-template profile assignments and push templates to patients, with secondary low confidentiality (template body disclosure) and low availability (portal workflow disruption). VulnCheck's advisory documents concrete, confirmed-on-live-instance reproduction (tested against the 8.2.0 Docker image), which raises practical credibility above a theoretical finding. Signal gaps to note explicitly: no EPSS score was provided, so statistical exploitation likelihood cannot be quoted; the CVE is NOT listed in CISA KEV, so there is no evidence of active in-the-wild exploitation; and no SSVC automatable/technical-impact decision tree was supplied - only the vuln.today 'this_week' priority label, which is consistent with 'patch on a normal remediation cycle, not drop-everything.' The requirement for valid staff credentials plus the patient portal being enabled is the main factor keeping real-world risk below what the 7.2 score alone implies, so this is best treated as a trusted-insider / post-account-compromise escalation and data-integrity risk rather than a broadly wormable issue.

Exploit ScenarioDerived

A low-privilege staff user (e.g. Front Office) with a normal OpenEMR session sends a crafted POST to portal/import_template.php with mode=save_profiles and profiles=[]; the endpoint runs an unconditional DELETE on document_template_profiles and wipes every portal template assignment, even though it returns a 'Profiles save failed' error. The same unguarded modes (send, send_profiles, update_category, get, getPdf) let the attacker push templates to patients, change categories, or read arbitrary template HTML/PDF bodies. Full HTTP reproduction steps are published in the vendor GHSA advisory and were confirmed against a live OpenEMR 8.2.0 instance.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 13, 2026

Missing authorization in OpenEMR's patient-portal document template endpoint (portal/import_template.php) allows any authenticated staff account - even a low-privilege Front Office role - to delete every portal document-template profile assignment, push templates to patients, change template categories, and read stored template HTML/PDF bodies. The affected modes (save_profiles, send_profiles, send, update_category, get, getPdf) run without the intended admin/forms ACL check and without CSRF validation, unlike mode=save which is correctly guarded. Exploitation requires working staff credentials and an enabled patient portal (portal_onsite_two_enable), which bounds the exposure; this is a genuine but bounded priority rather than an internet-facing emergency, with a vendor patch available in OpenEMR 8.5.0 and public reproduction steps documented in the GitHub security advisory (a public PoC reference, not independently confirmed as weaponized exploit code). No CISA KEV listing or active exploitation is reported in the available data.

RemediationAI

Vendor-released patch: OpenEMR 8.5.0 - upgrade from any earlier release to 8.5.0, which is the fixed version per the vendor advisory (https://github.com/openemr/openemr/security/advisories/GHSA-phvv-q7m7-8mc2) and the VulnCheck advisory (https://www.vulncheck.com/advisories/openemr-before-8.5.0-missing-authorization-via-portal-import-template-php). The upstream fix scopes every sensitive mode in portal/import_template.php (save_profiles, send_profiles, send, update_category, get, getPdf) behind AclMain::aclCheckCore('admin', 'forms') and adds CSRF checks consistent with mode=save, ideally via a single authorization gate before the mode switch; the advisory also recommends moving the unconditional mass DELETE in DocumentTemplateService::saveAllProfileTemplates() behind a validated non-empty write or a transactional replace so a failed save cannot wipe existing profile links. If upgrading cannot be done immediately, the concrete compensating control supported by the reported prerequisites is to disable the patient portal (portal_onsite_two_enable) so portal/import_template.php is no longer reachable - the trade-off is loss of all patient-facing portal functionality. As a narrower interim measure, restrict access to /portal/import_template.php at the web server or reverse proxy for accounts that are not intended template administrators, accepting that this is a coarse control which can break legitimate admin template management. When investigating suspected exploitation, do not treat the 'Profiles save failed' error response as evidence the data is intact: check document_template_profiles for missing rows with template_id > 0, review category changes and any template sends to patients, and audit mode=get/getPdf requests from non-admin staff sessions. Patch status is confirmed by the vendor advisory; no version-independent workaround fully reproduces the missing ACL and CSRF enforcement.

Affected VersionsENISA

OpenEMR 0 <8.5.0

Affected Packages

euvd openemr fix: 8.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenEMR is a PHP-based electronic health record and practice management platform; portal/import_template.php is the administrative handler for patient-portal document templates and dispatches behavior on a POST 'mode' parameter. The file correctly gates template content operations (mode=save, upload, delete) behind AclMain::aclCheckCore('admin', 'forms') and CsrfUtils::checkCsrfInput, but the mode switch was extended with additional sensitive modes that were never placed behind that gate, so the authorization decision is per-branch rather than a single gate before dispatch. This is CWE-862 (Missing Authorization): an authenticated user lacking the admin/forms privilege reaches functionality reserved for administrators. The destructive path compounds the flaw with inadequate validation ordering - DocumentTemplateService::saveAllProfileTemplates() executes DELETE FROM document_template_profiles WHERE template_id > 0 before validating or writing the attacker-supplied profile array, so an empty profiles=[] payload still wipes all associations and then returns a 'Profiles save failed' error, meaning a failure response does not indicate the data survived. The confidentiality path (mode=get/getPdf) returns template bodies without the ACL check. The reporter confirmed the pattern on the Docker openemr/openemr:latest image at version 8.2.0 over live HTTP and on source commit 8e9418c (8.3.0-dev); the CPE cpe:2.3:a:openemr:openemr:*:*:*:*:*:*:*:* applies to the full pre-8.5.0 range. The CVSS v4.0 vector scores 7.2 with PR:L, VC:L, VI:H, VA:L, matching the assessed CVSS:3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L - integrity impact dominates, confidentiality and availability are limited.

Know when Openemr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.2 HIGH
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
vuln.today AI 7.6 HIGH

Authenticated staff session over the network with low complexity (PR:L, AV:N, AC:L, UI:N); integrity High from the unconditional mass delete, with Low confidentiality (template reads) and Low availability (workflow disruption).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 13, 2026 - 10:02 EUVD
CVE Published
Nov 13, 2026 - 09:34 cve.org
HIGH 7.2

DescriptionCVE.org

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.

Technical POC Analysis

CWE-862, missing authorization.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A missing authorization flaw in OpenEMR's patient-portal document template endpoint lets any authenticated staff member, including low-privilege Front Office roles, delete template assignments, push templates to patients, alter categories, and read stored template content. The exposure is bounded to organizations running an enabled patient portal with staff accounts, but the affected data and actions touch patient-facing communications, so leadership should treat it as a genuine priority for prompt remediation. A vendor patch is available.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
most popular open-source EHR, but confined to healthcare practice deployments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2013-10044 HIGH POC
8.7 Aug 01

An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to

CVE-2026-24898 CRITICAL POC
10.0 Mar 03

Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.

CVE-2026-24848 CRITICAL POC
9.9 Mar 03

Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.

CVE-2026-24849 CRITICAL POC
9.9 Feb 25

Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the

CVE-2026-24908 CRITICAL POC
9.9 Feb 25

SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the

CVE-2024-22611 CRITICAL POC
9.8 Apr 03

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl

CVE-2024-37734 CRITICAL POC
9.8 Jun 26

An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par

CVE-2026-25146 CRITICAL POC
9.6 Mar 03

Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.

CVE-2026-39932 CRITICAL POC
9.4 Aug 03

Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so

CVE-2012-0992 HIGH POC
8.5 Feb 07

interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel

CVE-2026-124450 CRITICAL POC
9.3 Nov 08

Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms

CVE-2015-4453 MEDIUM
5.0 Jul 05

interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy