Skip to main content

Openemr CVE-2026-29187

HIGH
SQL Injection (CWE-89)
2026-03-25 GitHub_M
8.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to OpenEMR application
  2. Delivery
    Access Patient Search endpoint
  3. Exploit
    Inject SQL payload in HTTP parameter keys
  4. Execution
    Execute arbitrary SQL commands
  5. Impact
    Extract sensitive patient data

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 authenticated user account in OpenEMR versions prior to 8.0.0.3. Attacker manipulates HTTP parameter keys in Patient Search functionality (/interface/new/new_search_popup.php) to inject SQL commands. No victim interaction needed beyond attacker possessing valid login credentials.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N) indicates this is a network-exploitable vulnerability with low attack complexity requiring only low-level authentication, no user interaction, and delivering high confidentiality and integrity impact. While the 8.1 score suggests high severity, the PR:L requirement (authenticated access needed) reduces immediate internet-wide exploitation risk compared to unauthenticated vulnerabilities. The medical context significantly elevates real-world risk as OpenEMR handles HIPAA-protected patient health information, making data exfiltration particularly damaging from regulatory and privacy perspectives. A patch is available in version 8.0.0.3 with a specific commit reference, indicating the vendor has addressed the issue. Given OpenEMR's widespread use in healthcare settings, the availability of technical details in the GitHub Security Advisory (GHSA-2r7h-xm8v-m872), and the relative ease of exploitation once authenticated, this should be considered a high-priority remediation item for organizations running affected versions, particularly those in regulated healthcare environments.

Exploit ScenarioDerived

An attacker with valid low-privileged credentials to an OpenEMR installation accesses the Patient Search functionality at /interface/new/new_search_popup.php and crafts malicious HTTP requests where the parameter keys themselves contain SQL injection payloads rather than the parameter values. Using blind SQL injection techniques, the attacker iteratively extracts sensitive patient health information, user credentials, and other confidential database contents by observing application response timing or boolean conditions, eventually gaining access to the entire EHR database or escalating privileges to modify patient records.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 25, 2026

A Blind SQL Injection vulnerability exists in OpenEMR's Patient Search functionality that allows authenticated attackers to execute arbitrary SQL commands by manipulating HTTP parameter keys instead of values. OpenEMR versions prior to 8.0.0.3 are affected. With a CVSS score of 8.1 (High), this vulnerability enables high confidentiality and integrity impact, allowing attackers to extract sensitive patient health records and potentially modify database contents, though exploitation requires low-privileged authentication.

RemediationAI

Upgrade OpenEMR to version 8.0.0.3 or later, which contains a patch for this vulnerability as documented in commit c61887aa7c83e83b3282db05246f1c00de3aa21d available at https://github.com/openemr/openemr/commit/c61887aa7c83e83b3282db05246f1c00de3aa21d. Review the complete security advisory at https://github.com/openemr/openemr/security/advisories/GHSA-2r7h-xm8v-m872 for additional context. Until patching is completed, organizations should implement defense-in-depth measures including restricting access to the Patient Search functionality to only essential users, monitoring database query logs for anomalous SQL patterns, implementing web application firewall (WAF) rules to detect SQL injection attempts in parameter keys, and conducting audit reviews of user accounts with access to the affected functionality. Given the sensitive nature of healthcare data, prioritize this upgrade and ensure comprehensive logging is enabled to detect any potential exploitation attempts.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects OpenEMR, an open-source electronic health records (EHR) and medical practice management application written in PHP. The affected component is the Patient Search functionality located in /interface/new/new_search_popup.php. The vulnerability is classified as CWE-89 (SQL Injection) and represents a blind SQL injection attack where the attacker manipulates HTTP parameter keys rather than parameter values—an unusual attack vector that bypasses typical input validation focused on parameter values. The CPE identifier cpe:2.3:a:openemr:openemr:*:*:*:*:*:*:*:* confirms this affects the OpenEMR application across multiple versions. Blind SQL injection allows attackers to infer database content through boolean-based or time-based queries even when error messages are not displayed.

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

GitHub Advisory PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionGitHub Advisory

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, a Blind SQL Injection vulnerability exists in the Patient Search functionality (/interface/new/new_search_popup.php). The vulnerability allows an authenticated attacker to execute arbitrary SQL commands by manipulating the HTTP parameter keys rather than the values. Version 8.0.0.3 contains a patch.

Executive ViewAI

Why It Matters

OpenEMR instances are vulnerable to SQL injection attacks that could expose protected health information (PHI) and patient records through the Patient Search feature. Any user with basic system access can exploit this vulnerability to extract or modify sensitive patient data, creating significant compliance and liability risks under HIPAA and state privacy regulations.

Business Impact: Severe
Compensating Controls

Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in HTTP headers and parameter keys; disable or restrict access to Patient Search functionality until patched; enforce network segmentation to limit lateral movement from OpenEMR; require multi-factor authentication for all OpenEMR access; increase monitoring and alerting for database query anomalies; conduct regular audit logs review for suspicious database access patterns.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
4 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

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.0%
Patch available No
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
Very High
Technical Impact
Total

Priority Score

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

Affected Products (CPE)GitHub Advisory

cpe:2.3:a:openemr:openemr:*:*:*:*:*:*:*:*
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-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

CVE-2018-15152 CRITICAL POC
9.1 Aug 15

Authentication bypass vulnerability in portal/account/register.php in versions of OpenEMR before 5.0.1.4 allows a remote

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy