Skip to main content

OpenEMR EUVDEUVD-2026-125013

| CVE-2026-126430 HIGH
SQL Injection (CWE-89)
2026-11-13 VulnCheck GHSA-54mg-j2w3-j7fj
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as any core OpenEMR user
  2. Delivery
    POST to CCR revandapprove with crafted field name
  3. Exploit
    Scalar subquery injected into UPDATE patient_data SET
  4. Execution
    Read admin hashes and portal reset values
  5. Impact
    Take over patient-portal account / alter demographics

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

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

Exploitation Conditions

Prerequisites are concrete and minimal: the attacker needs any authenticated OpenEMR core account and a target patient pid - the advisory explicitly states NO CCR import relationship, NO patient ACL, and NO database access is required. The request is sent to CcrController::revandapproveAction (which performs no authorization), and the sibling CarecoordinationController::revandapproveAction route - normally gated by the Carecoordination module ACL - is also reachable because the module-ACL self-grant exposes it to any core user. The trigger is a request-controlled patient_data field name ending in '-sel' with value 'update', whose column identifier is concatenated into UPDATE patient_data SET before the statement is prepared (the patient value itself is safely bound). The principal limiting factor is authentication: exploitation requires a valid low-privilege core login, so this is an insider or post-credential-compromise vector, not remote-unauthenticated. No non-default configuration is needed - the vulnerable controllers are reachable in a standard OpenEMR install prior to 8.5.0.

Impact

This is a genuine priority rather than an inflated CVSS number. The vendor-assigned CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H, score 8.6) is internally consistent with the GHSA advisory: network-reachable, low complexity, no user interaction, and only PR:L - the PR:L reflects the advisory's key finding that ANY authenticated core user (no Carecoordination ACL, no CCR import relationship, no patient access, no database access) can reach the vulnerable route. The dual high impact (VC:H confidentiality from cross-table scalar reads of staff password hashes, portal reset values, OAuth and config; VI:H integrity from arbitrary modification of any patient's demographics) is well-supported by the confirmed PoC showing an admin username exfiltrated into a patient record. Signals partly conflict on urgency: VulnCheck is the reporter and a detailed PoC is embedded in the GHSA advisory, yet the vuln.today Decision label is 'this_week' (not act_now/emergency), the CVE is NOT on CISA KEV, and no EPSS score was provided - so there is no evidence of active in-the-wild exploitation, only strong exploitability. The main mitigating factor is the authentication requirement: the attacker must already hold a valid OpenEMR core account, which bounds this to malicious insiders or attackers who have already obtained any low-privilege credential. Net: a low-privilege-to-high-impact privilege escalation / data disclosure flaw worth prompt remediation on the vendor's 'this_week' cadence, but not an emergency absent KEV/EPSS evidence.

Exploit ScenarioDerived

A low-privileged but authenticated OpenEMR core user (e.g. a clinic staffer with no Carecoordination rights) sends a crafted POST to the CCR revandapprove controller, replacing a patient_data column identifier with a scalar SQL subquery so that the UPDATE patient_data SET clause executes attacker-chosen SQL. In 2-3 requests they read the administrator's password hash and a patient-portal reset value, then alter the target patient's demographics or hijack the portal account. A working PoC (the exact HTTP request and the CONCAT('CCRSQLI_',username) subquery) is published in the GHSA advisory, so the exploitation technique is fully documented.

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

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

Alert me

AnalysisAIv1 – Nov 13, 2026

SQL injection in OpenEMR before 8.5.0 lets any authenticated core user rewrite the UPDATE patient_data SET clause via a crafted patient_data field name ending in '-sel', disclosing cross-table data such as staff password hashes and active patient-portal reset values while modifying any patient's demographics. No CCR import relationship, patient ACL, or database access is required, and a captured active reset value can be redeemed for patient-portal account takeover. The vendor advisory documents a proof-of-concept request against the CCR revandapprove controller, and the fix ships in OpenEMR 8.5.0.

RemediationAI

Upgrade to OpenEMR 8.5.0, the release that fixes the concatenated field-name query in both the CCR and Carecoordination approval models (vendor advisory https://github.com/openemr/openemr/security/advisories/GHSA-wh28-4qcg-5hcc). The advisory publishes no code-level workaround, and the described trigger sits inside the approval controller rather than behind a documented configuration switch, so the version upgrade is the remediation path. Because the sole prerequisite is any authenticated core account and no patient ACL or import relationship is needed, deployments that cannot reach 8.5.0 in the current patch cycle should limit which users hold core logins - that is a stopgap that shrinks the pool of usable credentials, not a substitute for the release - and should treat staff password hashes and active portal reset values as exposed until the upgrade is applied. The current priority label places this within this week's remediation cycle rather than an emergency response.

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 electronic health record platform whose module layer runs on Zend Framework components under interface/modules/zend_modules. In CcrTable::insertApprovedData(), request keys that end in '-sel' and carry the value 'update' are trimmed down to a field name, appended to a $patient_data_fields string, and concatenated into the statement "UPDATE patient_data SET ..." before the query is handed to QueryUtils::sqlStatementThrowException(); the patient value itself is bound through a placeholder, so the defect is the unparameterized identifier/expression slot rather than the data slot (CWE-89, improper neutralization of special elements used in an SQL command). Because the field name is treated as SQL syntax, an attacker substitutes a scalar subquery for the intended column identifier, obtaining cross-table reads and unauthorized writes in a single statement. The identical construction is copied into CarecoordinationTable::insertApprovedData() and reached through CarecoordinationController::revandapproveAction(), a route normally gated by the Carecoordination module ACL but opened to any core user by a separate module-ACL self-grant. The CPE cpe:2.3:a:openemr:openemr:* together with the EUVD range 0 to <8.5.0 confirms the scope as every pre-8.5.0 release.

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

Network-reachable controller, low complexity, no UI; PR:L because any authenticated core account suffices; C:H/I:H for cross-table hash reads and arbitrary demographic writes; A:N and S:U as impact stays within the OpenEMR DB.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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
None
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:35 cve.org
HIGH 8.6

DescriptionCVE.org

OpenEMR before 8.5.0 contains an sql injection vulnerability that allows any authenticated core user to inject SQL by supplying crafted patient_data field names to the CCR revandapprove controller. Attackers can embed scalar subqueries in the UPDATE patient_data SET clause to read staff password hashes and portal reset values, alter arbitrary patient demographics, and take over patient-portal accounts.

Technical POC Analysis

CWE-89 (SQL injection), caused by string-concatenating an attacker-controlled SQL identifier position while binding only the value position.

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

OpenEMR versions before 8.5.0 contain a SQL injection vulnerability that allows any authenticated user to access sensitive data including staff password hashes and patient portal reset tokens. This could lead to unauthorized access to patient accounts and modification of patient records, posing a significant risk to patient privacy and data integrity. Leadership should prioritize remediation to prevent potential data breaches and compliance violations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
most widely-deployed open-source EHR, but clinic-sector not everywhere
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.4%
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

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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