Skip to main content

OpenEMR EUVDEUVD-2026-124986

| CVE-2026-126448 MEDIUM
Missing Authorization (CWE-862)
2026-11-13 VulnCheck GHSA-pfp7-6f7h-5c65
5.3
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 core user
  2. Exploit
    Send direct POST to add_context.php or ajax_code.php
  3. Execution
    Bypass missing ACL and CSRF checks
  4. Impact
    Tamper shared clinical-note templates and 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 Nation Notes to be enabled on the deployment and the attacker to already hold any authenticated core/staff OpenEMR account - notably one WITHOUT the nationnotes/nn_configure permission, since the UI gates configuration on that ACL but the ajax_code.php and add_context.php mutation handlers do not re-enforce it. The exact feature affected is shared Nation Notes template/context/category configuration and user assignment. Limiting factors: a valid session is mandatory (no anonymous access), impact is confined to clinical-note template integrity (no data theft or outage), and the issue only matters where Nation Notes is in use. The missing CSRF validation additionally allows the same mutations to be triggered via a cross-site request against a logged-in user's browser.

Impact

This is a moderate, not emergency, priority. All signals point to limited real-world severity despite a valid finding. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network-reachable, low-complexity exploitation but requires an existing authenticated account (PR:L) and yields only low integrity impact (VI:L) with no confidentiality or availability loss (VC:N/VA:N). The vuln.today decision label is 'this_month' - remediate in the normal patch cycle, not immediately. No EPSS score, no CISA KEV listing, and no SSVC automatable/technical-impact data were supplied; absence of KEV means there is no confirmed active exploitation. The GHSA advisory does include confirmed reproduction steps against v8.4.1, so a working exploitation method is publicly documented, but this is a post-authentication authorization gap affecting an internal clinical-template feature, not an unauthenticated RCE. Net: a genuine broken-access-control bug worth patching, but the low privilege requirement (any existing staff account) and integrity-only, feature-scoped impact keep real-world risk modest rather than critical.

Exploit ScenarioDerived

A low-privilege staff member (or any compromised core account) who lacks the nationnotes/nn_configure permission sends a direct POST to library/custom_template/add_context.php or ajax_code.php, which never re-check the ACL enforced by the UI. The attacker adds, renames, or deletes shared Nation Notes contexts and categories or reassigns templates to other users, corrupting the clinical-note templates clinicians rely on. The GHSA advisory documents a working reproduction (an add_context.php POST returning HTTP 200 and persisting an unauthorized context), and because CSRF tokens are also absent, the same mutation can be driven via a cross-site request through any logged-in user's browser.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

OpenEMR before 8.5.0 enforces the nationnotes/nn_configure permission only in its Nation Notes user interface, not in the underlying PHP mutation handlers, so any authenticated core/staff account - including one deliberately denied configuration rights - can add, rename, delete or reassign practice-wide clinical-note templates and shared contexts by POSTing directly to library/custom_template/ajax_code.php or library/custom_template/add_context.php. Those same endpoints also omit CSRF validation, so the mutations can additionally be triggered cross-site against a logged-in clinician's browser. Impact is limited to integrity of shared documentation templates with no confidentiality or availability loss, exploitation requires a valid session and a deployment with Nation Notes enabled, and no confirmed in-the-wild exploitation or working exploit code has been reported; the priority rating is this_month, and the GitHub security advisory includes reproduction steps using a sample HTTP request.

RemediationAI

Upgrade OpenEMR to 8.5.0 or later, the version in which the vendor fixed this issue; the upstream recommendation is to require nationnotes/nn_configure at the start of every shared Nation Notes mutation handler, add CSRF validation, and separate personal template association from shared administration with an ownership check on user-scoped operations. Full details are in the GitHub advisory at https://github.com/openemr/openemr/security/advisories/GHSA-m4cw-vx96-p6fj. Until the upgrade is deployed, restrict access to library/custom_template/ajax_code.php and library/custom_template/add_context.php at the web server or reverse proxy so that only accounts permitted to configure Nation Notes can reach them - the trade-off is that legitimate template administration from other paths breaks and, because these handlers also lack CSRF tokens, proxy-level filtering does not by itself stop a permitted user from being induced to submit a cross-site request. If Nation Notes is not in active clinical use, disabling the module removes the exposure entirely at the cost of losing shared note templates. Note that deploying the vendor's handler-level ACL and CSRF checks is the only complete fix; the access-control workarounds above are partial.

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. Nation Notes is its reusable clinical-note templating subsystem, organized into shared contexts, categories and items, with assignments deciding which users receive which templates. Configuration of that subsystem is meant to be reserved for holders of the ACL rule nationnotes/nn_configure, which is checked with AclMain::aclCheckCore('nationnotes','nn_configure') in personalize.php (around lines 333-350) purely to decide whether the Delete Category, Add Category and Add Context controls are rendered. The mutation paths do not repeat the check: ajax_code.php initializes request input and performs template-to-user assignment, item add/update, category listing and recursive category deletion, only consulting nn_configure when rendering edit/delete/add controls (lines 166-181), while add_context.php creates, renames or deletes global contexts straight from request parameters. Neither file validates a CSRF token, which upgrades a straightforward CWE-862/CWE-284 missing-authorization flaw into a cross-site request vector as well. The defect was confirmed on v8.4.1 with an account holding no ACL rules and no CSRF token, and commit-history analysis places the affected range at v4.1.0 through v8.4.1, consistent with the EUVD range of 0 to <8.5.0. The trigger is a direct request to those endpoints; no memory-safety, race or parsing weakness is involved, and the assessed CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N) reflects a low-privileged, integrity-only impact confined to the affected feature.

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 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Any authenticated low-privilege account (PR:L) can reach the endpoints over the network with no interaction (AV:N/AC:L/UI:N); impact is limited to template integrity, so C:N/I:L/A:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/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
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 13, 2026 - 10:02 EUVD

DescriptionCVE.org

OpenEMR before 8.5.0 contains a missing authorization vulnerability that allows authenticated users lacking nationnotes/nn_configure to modify shared Nation Notes templates by calling mutation endpoints directly. Attackers can send requests to ajax_code.php or add_context.php, which lack ACL and CSRF checks, to tamper with clinical-note templates and assignments.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
most widely used open-source EHR, but a single healthcare-sector product
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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