Skip to main content

OpenEMR EUVDEUVD-2026-125132

| CVE-2026-126492 HIGH
SQL Injection (CWE-89)
2026-11-13 VulnCheck GHSA-p5cj-hhx3-3982
7.1
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-privileged user
  2. Delivery
    POST crafted option_id to addlistitem.php
  3. Exploit
    Persist SQL fragment in recent_patient_columns
  4. Execution
    dynamic_finder.php concatenates value into SELECT
  5. Persist
    Stored SQL executes against database
  6. Impact
    Exfiltrate patient/database records

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

Requires a valid authenticated account with at least low privileges capable of reaching library/ajax/addlistitem.php to store the malicious option_id value under list_id='recent_patient_columns'. Exploitation is second-order: the injected SQL only executes later when interface/main/finder/dynamic_finder.php reads the persisted value and concatenates it into a dynamic SELECT, so the finder code path must be exercised. Limiting factors: authentication is mandatory (PR:L - not exploitable by anonymous attackers), and the two-stage store-then-trigger nature means the attacker must both write the payload and have it consumed by the finder; all OpenEMR versions before 8.5.0 are affected in default configurations.

Impact

This is a genuine but not emergency-grade priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) scoring 7.1 indicates a network-reachable, low-complexity attack requiring low-privilege authentication and no user interaction, with high confidentiality impact (VC:H) but only limited integrity impact (VI:L) and no availability impact - consistent with a SQL injection used primarily to read data from the backend database. No EPSS score, KEV listing, or confirmed public exploit was supplied, so there is no signal of active or widespread exploitation; the strongest escalation signal is the vuln.today Decision label of 'this_week' and a VulnCheck advisory, which together argue for prompt but routine patching rather than crisis response. The key tension is between the network attack vector and the authentication requirement: because this is a second-order (stored) injection requiring a valid low-privileged account that can reach library/ajax/addlistitem.php, real-world risk is meaningfully gated by needing an authenticated foothold, which lowers mass-exploitation likelihood relative to an unauthenticated SQLi. EPSS and KEV data are absent (not confirmed zero), so exploitation probability cannot be quantified from the input.

Exploit ScenarioDerived

An attacker with a low-privileged OpenEMR account submits a request to library/ajax/addlistitem.php that persists a malicious SQL fragment into the option_id value of the recent_patient_columns list option. When the finder feature later runs, interface/main/finder/dynamic_finder.php reads that stored value and concatenates it into a dynamic SELECT, executing the attacker's SQL against the database. No public exploit code was identified in the provided sources; given AV:N/AC:L the injection itself is straightforward for an authenticated user to trigger.

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

Second-order SQL injection in OpenEMR affects all releases before 8.5.0 and lets a low-privileged authenticated user persist a malicious SQL fragment through library/ajax/addlistitem.php into the option_id column of list_options (list_id='recent_patient_columns'), which interface/main/finder/dynamic_finder.php later concatenates into a dynamic SELECT and executes. Because the payload is stored first and triggered on a subsequent read of the finder, exploitation requires both a valid low-privilege account and traversal of the dynamic_finder.php code path; the assessed impact is high confidentiality with limited integrity effect and no availability impact. No public exploit code and no active exploitation (CISA KEV) are reported, and the issue is prioritized for remediation this week rather than as an emergency.

RemediationAI

Vendor-released patch: upgrade to OpenEMR 8.5.0, which is the fixed version named in the vendor advisory for every affected branch (vulnerable < 8.5.0, fixed in 8.5.0); no backport to earlier branches is documented in the supplied data. Apply the upgrade and then confirm the fix by checking that list_options rows with list_id='recent_patient_columns' are handled through parameterized query construction in interface/main/finder/dynamic_finder.php. Because the attack is second-order, upgrading the application does not by itself clean previously stored payloads, so the persisted option_id values in that list should be reviewed and any unexpected entries removed as part of the remediation. Consult the vendor advisory at https://github.com/openemr/openemr/security/advisories/GHSA-hrf6-qx6w-vgh9 and the VulnCheck advisory at https://www.vulncheck.com/advisories/openemr-before-8.5.0-second-order-sql-injection-via-dynamic-finder-php for the authoritative fix guidance; the supplied sources do not describe a supported workaround other than updating, and since exploitation requires a valid low-privilege account, tightening who can hold accounts that can reach library/ajax/addlistitem.php reduces exposure during the upgrade window.

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 a relational database. The flaw is CWE-89 (SQL injection) in a second-order form: rather than injecting directly into a query, the attacker abuses a legitimate write endpoint, library/ajax/addlistitem.php, to store attacker-controlled text in the option_id column of the list_options table under list_id='recent_patient_columns'. The stored value is treated as trusted configuration data later, when interface/main/finder/dynamic_finder.php builds a dynamic SELECT fragment by concatenating that persisted value without parameterization, so the injected text is parsed as SQL structure at execution time. This store-then-trigger pattern separates the write from the sink, meaning input filtering scoped only to the addlistitem.php request or only to the finder request will not cover the whole path, and it also means the malicious row survives across sessions until removed.

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

Network-reachable injection by an authenticated low-privileged user (PR:L) with no interaction; high data-read confidentiality impact, limited integrity from stored writes, no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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
High
Vulnerable system: Integrity
Low
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:34 cve.org
HIGH 7.1

DescriptionCVE.org

OpenEMR before 8.5.0 contains a second-order sql injection vulnerability that allows low-privileged authenticated users to store malicious SQL via library/ajax/addlistitem.php. Attackers can persist a SQL fragment in the recent_patient_columns option_id value, which dynamic_finder.php concatenates into a SELECT query and executes as SQL.

Technical POC Analysis

CWE-89 (SQL injection), specifically second-order / stored SQL injection spanning two application files in OpenEMR.

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 second-order SQL injection vulnerability (CVE-2026-126492) that allows a low-privileged authenticated user to persist malicious SQL fragments and later trigger them, potentially exposing sensitive patient data. This affects confidentiality of clinical records, and leadership should prioritize remediation due to regulatory and reputational risks.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
leading open-source EHR, widely used in healthcare but industry-specific footprint
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 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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

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

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