Skip to main content

OpenEMR CVE-2026-126483

| EUVDEUVD-2026-124941 HIGH
SQL Injection (CWE-89)
2026-11-13 VulnCheck GHSA-wqrg-546p-pxg4
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 report (acct/rep) user
  2. Delivery
    Submit crafted form_facility in IPPF report POST
  3. Exploit
    Close facility_id string literal in WHERE clause
  4. Execution
    Inject boolean/time-based SQL probe
  5. Impact
    Blind-exfiltrate sensitive database contents

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 (1) an OpenEMR install running the IPPF configuration - the vulnerable interface/reports/ippf_statistics.php report only exists and is only reachable there; and (2) an authenticated user with the acct/rep report privilege who can run that report. The exact trigger is a POST with a crafted form_facility value that breaks out of the 'AND fe.facility_id = '$form_facility'' literal; the vulnerable branch is on the live SQL path selected by posted form_content/form_by values, and no intval, allowlist, or escaping is applied in between. Limiting factors that reduce real-world exposure: the authentication/role requirement (PR:L), the IPPF-specific deployment dependency, and the single-statement context that restricts impact to blind read-out of data rather than data modification or stacked queries.

Impact

This is a genuine but bounded risk, best characterized as moderate rather than critical. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H) scores 7.1 and correctly captures the core profile: network-reachable, low complexity, but requiring authenticated privileges (PR:L) - specifically a user with the acct/rep report role, per the GHSA advisory. Impact is confidentiality-only (VC:H, VI:N, VA:N), consistent with a single-statement read-out SQL injection that cannot stack queries or modify data. The vuln.today Decision label is 'this_week', which aligns with a patch-available, authenticated, confidentiality-only flaw - not an act_now/emergency signal. No CISA KEV listing and no EPSS score were supplied, so there is no evidence of active exploitation or a quantified exploitation probability; absence of these is a data gap, not a clean bill of health. A key real-world limiter, emphasized by the reporter, is that interface/reports/ippf_statistics.php only exists and only matters on installs running the IPPF configuration, so the exposed attack surface is a subset of OpenEMR deployments. Bottom line: a real, patchable confidentiality issue that warrants prompt remediation on affected IPPF installations, but the authentication requirement and configuration-specific reachability keep it below top-tier urgency.

Exploit ScenarioDerived

An authenticated OpenEMR user holding the report (acct/rep) role on an install running the IPPF configuration submits the IPPF statistics report with a crafted form_facility POST value that closes the facility_id string literal. Using boolean or time-based payloads, they blind-extract sensitive database contents (e.g., patient or credential data) even without visible query output. No public, verified working exploit code is identified; the advisory illustrates a conceptual payload, and the reporter states they read the code at HEAD rather than executing an exploit.

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's IPPF statistics report (interface/reports/ippf_statistics.php) lets an authenticated user holding the acct/rep report privilege break out of the facility_id string literal and read sensitive database contents through boolean- or time-based blind probes. All OpenEMR releases before 8.5.0 are affected by CPE, but the vulnerable report exists and is reachable only on installations running the IPPF configuration, which narrows real-world exposure alongside the authentication requirement. The vendor has released 8.5.0 as the fixed version, no public exploit code was identified at time of analysis, and priority is this week rather than emergency.

RemediationAI

Upgrade to OpenEMR 8.5.0, the vendor-released fixed version, per advisory GHSA-p2ch-6856-w69j (https://github.com/openemr/openemr/security/advisories/GHSA-p2ch-6856-w69j) and the VulnCheck advisory. If an immediate upgrade is not possible, the upstream fix is a single-line change: in interface/reports/ippf_statistics.php make the line 1456 block match the already-correct block at line 1288 by replacing '$form_facility' with a ? placeholder, keeping the existing array_push onto $sqlBindArray - this repairs the injection and the placeholder mismatch together. As compensating controls, restrict the acct/rep privilege to only the staff who genuinely need reporting (this reduces the attacker population but does not remove the flaw for those users), and on deployments that do not use IPPF remove or block access to interface/reports/ippf_statistics.php (effective for non-IPPF installs, at the cost of losing that report on any site that does use it) until the upgrade can be applied.

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 web application, and this is a classic CWE-89 improper neutralization of special elements in an SQL query. In interface/reports/ippf_statistics.php the POSTed form_facility value is taken raw from $_POST and concatenated into a WHERE clause as AND fe.facility_id = '$form_facility' at roughly line 1456; nothing in between applies intval, an allowlist, or escaping. Notably the same block also pushes the value onto $sqlBindArray even though the query string contains no ? placeholder for it, so the parameter count is off as well - an unfinished conversion, since an identical facility_id condition about 170 lines earlier (around line 1288) correctly uses a bound ? placeholder. The facility <select> rendered in the form provides no protection because form_facility is an ordinary client-controlled POST field, and the vulnerable branch sits on the live SQL path selected by the posted form_content and form_by values rather than in dead code. A payload such as ' OR (SELECT ...) -- closes the literal, and because the injection point is a single-statement context the impact is confined to blind read-out of data via boolean or time-based inference rather than stacked queries, data modification, or writes. Per the independent assessment the assessed vector is AV:N/AC:L/PR:L/UI:N with confidentiality-only impact (C:H/I:N/A:N), reflecting the authenticated, IPPF-specific prerequisites.

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:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable report endpoint (AV:N, AC:L) requires an authenticated acct/rep user (PR:L); blind SQLi reads sensitive data (C:H) with no integrity or availability impact and no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/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
None
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 an SQL injection vulnerability that allows authenticated report users to manipulate queries by supplying a crafted form_facility value to interface/reports/ippf_statistics.php. Attackers can close the string literal in the facility_id WHERE clause and use boolean or time-based payloads to read sensitive database contents.

Technical POC Analysis

CWE-89, SQL injection by string interpolation.

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, a widely used electronic health records system, has a high-severity SQL injection vulnerability in its IPPF statistics report affecting all versions before 8.5.0. The flaw requires an authenticated user with report privileges, limiting exposure to staff accounts and only installations using IPPF configuration. Leadership should prioritize patching this week to prevent potential access to sensitive patient data by malicious insiders or compromised accounts.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Medium
OpenEMR is a common open-source EHR, but vulnerable IPPF report ships only on IPPF configs
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.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
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