OpenEMR
OpenEMR Vulnerable to Authenticated Blind Boolean-Based SQL Injection in new_search_popup.php
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 8.0.0.3
Fixed in 8.0.0.3
Mitigation
Upgrade openemr to 8.0.0.3 or later.
References
- Vendor advisory github.com/openemr/openemr/security/advisories…
- Patch github.com/openemr/openemr/commit/c61887aa7c83…
- Release notes github.com/openemr/openemr/releases/tag/v8_0_0…
Timeline
Days relative to CVE publicationFirst public PoC 44 days before publication; not in CISA KEV. First PoC: ChrisSub08/CVE-2026-29187_SqlInjectionVulnerabilityOpenEMR7.0.4 (created 10 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ChrisSub08/CVE-2026-29187_SqlInjectionVulnerabilityOpenEMR7.0.4 | 10 Feb 2026 −44 d | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /interface/new/new_search_popup.php
- Query
mf_"=testmf_(SELECT(username)FROM(users_secure))=ad_in%- Key headers
Cookie: OpenEMR=5cb438753a9513cb01f5adc257ab474fCookie: OpenEMR={var}- Ports
- 443
- PoC User-Agent
curl/*- Seen in
- 1 repo: ChrisSub08/CVE-2026-29187_SqlInjectionVulnerabilityOpenEMR7.0.4
- Evidence
- ChrisSub08/CVE-2026-29187_SqlInjectionVulnerabilityOpenEMR7.0.4/README.md:59 ChrisSub08/CVE-2026-29187_SqlInjectionVulnerabilityOpenEMR7.0.4/README.md:141
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/interface/new/new_search_popup\.php\?(?:.*&)?mf_"=test.*mf_\(SELECT\(username\)FROM\(users_secure\)\)=ad_in%
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [443] (msg:"GG PoC-Monitor CVE-2026-29187 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/interface/new/new_search_popup.php"; http.uri; content:"mf_|22|=test"; http.uri; content:"mf_(SELECT(username)FROM(users_secure))=ad_in%"; http.header; content:"Cookie: OpenEMR=5cb438753a9513cb01f5adc257ab474f"; nocase; http.header; content:"Cookie: OpenEMR="; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-29187; classtype:web-application-attack; sid:9819814; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: openemr openemr exploit attempt (CVE-2026-29187)
id: gg-pocmon-cve-2026-29187-9819814
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-29187. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-29187
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/interface/new/new_search_popup.php'
cs-uri-query|contains|all:
- 'mf_"=test'
- 'mf_(SELECT(username)FROM(users_secure))=ad_in%'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.29187