Skip to main content

OpenEMR CVE-2026-126487

| EUVDEUVD-2026-124937 HIGH
Improper Privilege Management (CWE-269)
2026-11-13 VulnCheck GHSA-8f4f-4mrm-hgrg
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Log in as any low-privileged user
  2. Delivery
    POST global:-prefixed key to user_settings.php
  3. Exploit
    Override system-wide global configuration
  4. Execution
    Persist override across logout/sessions
  5. Impact
    Disable audit logging and weaken security controls

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
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

Requires an authenticated OpenEMR session of any privilege level (the advisory states 'no special privileges required') plus the page's CSRF token, which an authenticated user already possesses, and reachability to the AJAX endpoint library/ajax/user_settings.php. Exploitation works against default configurations of affected versions (v5.0.0 through <8.5.0) because the endpoint accepts arbitrary global:-prefixed keys without enforcing the $USER_SPECIFIC_GLOBALS allowlist. Limiting factors: the attacker must hold valid credentials (no unauthenticated path), and the configuration overrides apply to the attacker's own current and future sessions rather than globally changing every other user's experience - this still defeats audit logging and weakens controls for the attacker's activity, with HIPAA/HITECH audit-trail and compliance consequences. The only complete fix stated by the vendor is upgrading to 8.5.0.

Impact

This is a credible this-week priority rather than a CVSS-inflated non-issue, but the risk is primarily insider/post-authentication rather than mass-exploitable. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, VC:H/VI:H/VA:H) correctly reflects that exploitation is network-reachable, low-complexity, needs no user interaction, and requires only low privileges - i.e. any authenticated OpenEMR account. The decisive limiter, confirmed by the GHSA advisory, is PR:L: an attacker must already hold a valid login, so this is not an unauthenticated internet-facing RCE. No EPSS score and no CISA KEV entry were provided, so there is no evidence of widespread automated exploitation; combined with the authentication requirement this points to targeted or malicious-insider abuse rather than opportunistic mass exploitation. The source-rated VC:H/VI:H/VA:H is debatable for a configuration-override flaw whose overrides apply to the attacker's own sessions - the strongest confirmed impact is integrity of security controls and audit-trail destruction (compliance/forensic impact), with confidentiality/availability impact being indirect and setting-dependent; a defender should weight integrity and accountability loss over raw data-confidentiality claims. Vendor patch availability (8.5.0) and a vendor advisory from the OpenEMR project with a reporter-verified PoC make remediation clear and well-supported.

Exploit ScenarioDerived

A malicious or compromised low-privileged OpenEMR user opens their browser console while authenticated and sends a single POST to library/ajax/user_settings.php with a parameter like lab=global:enable_auditlog&val=0 (including the page's CSRF token). Because the endpoint stores global:-prefixed keys without checking them against the user-configurable allowlist, the value overrides the system-wide global for that user's sessions and persists across logout, letting the attacker then access or modify patient records with audit logging disabled. A reporter-verified PoC is included in the vendor GHSA advisory.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

Authenticated OpenEMR users in versions 5.0.0 through 8.5.0 can persistently override administrator-only global configuration values - audit logging, password policy, session timeout, LDAP enforcement and similar settings - for their own current and future sessions via the library/ajax/user_settings.php endpoint. Because that endpoint stores arbitrary key/value pairs without enforcing the $USER_SPECIFIC_GLOBALS allowlist, any account able to log in and read the page's CSRF token can silence the audit trails that would otherwise record its activity, which is a direct HIPAA/HITECH compliance problem. The vendor advisory publishes verified proof-of-concept request examples and the issue is treated as a this-week priority; exploitation requires valid credentials but no elevated role, and there is no KEV entry indicating active mass exploitation.

RemediationAI

Vendor-released patch: upgrade to OpenEMR 8.5.0, which the advisory identifies as the only complete fix; see https://github.com/openemr/openemr/security/advisories/GHSA-v997-jphq-wvvr for the fix and https://www.vulncheck.com/advisories/openemr-before-8.5.0-global-configuration-override-via-user-settings-php for the third-party writeup. The vendor's code-level recommendation is to enforce an allowlist of user-controllable settings consistently, route all writes through src/Services/Globals/UserSettingsService.php, and also enforce and alert at the read layer when a non-allowed value is present. Where upgrading cannot be done immediately, compensating controls with trade-offs are: purge existing rows with 'global:' prefixed names from the user_settings table for all non-administrative accounts and re-check periodically, accepting that this is a point-in-time cleanup rather than a permanent block; and restrict or filter POSTs to library/ajax/user_settings.php so that 'lab'/'target' values matching a 'global:' prefix are rejected, via a web server ACL or WAF rule, with the trade-off that legitimate per-user preference saving must be preserved through an explicit allowlist and is otherwise broken; neither control is a substitute for the 8.5.0 upgrade.

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 application backed by MySQL/MariaDB, in which runtime configuration lives in a globals table and is surfaced through OEGlobalsBag. Per-user preferences are written by library/ajax/user_settings.php into the user_settings table, and any key stored with a 'global:' prefix is read back during request bootstrap in interface/globals.php and used to override the system-wide value for that user's sessions, persisting across logout. The endpoint accepts the generic 'lab'/'val' and 'target'/'setting' POST pairs without checking them against the $USER_SPECIFIC_GLOBALS allowlist defined in library/globals.inc.php, so the missing authorization of CWE-862 becomes improper privilege management (CWE-269): a non-administrative account can reach administrator-only configuration. The canonical write path is src/Services/Globals/UserSettingsService.php, and the advisory notes the existing allowlist enforce inconsistently and should be applied uniformly at that single write service plus at the read layer. Overrides are scoped to the attacker's own session rather than changing settings for all users, so the impact is concentrated in defeating logging and weakening controls around the attacker's own activity; the trigger only requires a POST to the AJAX endpoint with the standard CSRF token, and authentication requirements are authenticated (PR:L in the assessed vector).

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

Network-reachable AJAX endpoint abusable by any authenticated user (PR:L, AC:L, no UI); primary impact is integrity of security configuration and audit controls (I:H), limited confidentiality (C:L) and no direct availability loss, scoped to the attacker's own sessions (S:U).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/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
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
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 8.7

DescriptionCVE.org

OpenEMR before 8.5.0 contains an authorization bypass vulnerability that allows authenticated users to override system-wide global configuration values by storing global-prefixed keys through library/ajax/user_settings.php. Attackers can submit lab or target parameters with global: prefixed setting names to disable audit logging, weaken password policies, or alter security-sensitive settings persistently for their sessions.

Technical POC Analysis

CWE-269 (Improper Privilege Management), with the advisory also tagging 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

CVE-2026-126487 is a high-severity vulnerability in OpenEMR (versions 5.0.0-8.5.0) that allows any authenticated user, regardless of role, to persistently override administrator-only global configuration settings-including audit logging. This directly undermines HIPAA/HITECH compliance by enabling users to silence audit trails, which could lead to undetected data breaches and regulatory penalties. Leadership should care because the integrity of security controls is compromised for all users, and exploitation is trivial with valid credentials.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Medium
leading open-source EHR, common in healthcare but industry-specific footprint
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.5%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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