OpenEMR
OpenEMR has a SQL Injection Vulnerability in patient selection
OpenEMR is a free and open source electronic health records and medical practice management application. Versions up to and including 8.0.0.2 contain a SQL injection vulnerability in the patient selection feature that can be exploited by authenticated attackers. The vulnerability exists due to insufficient input validation in the patient selection feature. 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/73db3264aed2…
- Release notes github.com/openemr/openemr/releases/tag/v8_0_0…
Timeline
Days relative to CVE publicationFirst public PoC 2.3 days before publication; not in CISA KEV. First PoC: ChrisSub08/CVE-2026-33910_SqlInjectionVulnerabilityOpenEMR8.0.0.2 (created 23 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ChrisSub08/CVE-2026-33910_SqlInjectionVulnerabilityOpenEMR8.0.0.2 | 23 Mar 2026 −2.3 d | 0 | PoC |
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/main/finder/patient_select.php
- Query
from_page=report_id=0csrf_token_form=f242b99731487d705ef38764ac86b8341940ffabfindBy=Anycsrf_token_form=- Key headers
Cookie: OpenEMR=3e05a485cd972a80234bbf22bd94a9b7- Ports
- 80
- Seen in
- 1 repo: ChrisSub08/CVE-2026-33910_SqlInjectionVulnerabilityOpenEMR8.0.0.2
- Evidence
- ChrisSub08/CVE-2026-33910_SqlInjectionVulnerabilityOpenEMR8.0.0.2/README.md:73
POST /interface/super/edit_layout.php
- Key headers
Cookie: OpenEMR=76a6afd3b6a64035d8c3e1800eb5b5ac- Body markers
formaction=addfieldlayout_id=DEMcsrf_token_form=55a14465e41acbdbd4d88e80cad22083ef975b9cnewid=injection'payloadnewtitle=Test Fieldnewdatatype=1newfieldgroupid=1newseq=1newuor=1newlengthWidth=255newlengthHeight=1newtitlecols=1newdatacols=1newdefault=newcodes=newdesc=Field created via curlnewmaxSize=255newsource=newlistid=newbackuplistid=newid=1 OR 1=1csrf_token_form=inapplication/x-www-form-urlencoded- Ports
- 80
- Seen in
- 1 repo: ChrisSub08/CVE-2026-33910_SqlInjectionVulnerabilityOpenEMR8.0.0.2
- Evidence
- ChrisSub08/CVE-2026-33910_SqlInjectionVulnerabilityOpenEMR8.0.0.2/README.md:65 ChrisSub08/CVE-2026-33910_SqlInjectionVulnerabilityOpenEMR8.0.0.2/README.md:69
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/interface/main/finder/patient_select\.php\?(?:.*&)?from_page=.*report_id=0.*csrf_token_form=f242b99731487d705ef38764ac86b8341940ffab.*findBy=Any.*csrf_token_form=
(?i)^/interface/super/edit_layout\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2026-33910 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/interface/main/finder/patient_select.php"; http.uri; content:"from_page="; http.uri; content:"report_id=0"; http.uri; content:"csrf_token_form=f242b99731487d705ef38764ac86b8341940ffab"; http.uri; content:"findBy=Any"; http.uri; content:"csrf_token_form="; http.header; content:"Cookie: OpenEMR=3e05a485cd972a80234bbf22bd94a9b7"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-33910; classtype:web-application-attack; sid:9397739; rev:1;)
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2026-33910 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/interface/super/edit_layout.php"; http.header; content:"Cookie: OpenEMR=76a6afd3b6a64035d8c3e1800eb5b5ac"; nocase; http.request_body; content:"formaction=addfield"; http.request_body; content:"layout_id=DEM"; http.request_body; content:"csrf_token_form=55a14465e41acbdbd4d88e80cad22083ef975b9c"; http.request_body; content:"newid=injection'payload"; http.request_body; content:"newtitle=Test Field"; http.request_body; content:"newdatatype=1"; http.request_body; content:"newfieldgroupid=1"; http.request_body; content:"newseq=1"; http.request_body; content:"newuor=1"; http.request_body; content:"newlengthWidth=255"; http.request_body; content:"newlengthHeight=1"; http.request_body; content:"newtitlecols=1"; http.request_body; content:"newdatacols=1"; http.request_body; content:"newdefault="; http.request_body; content:"newcodes="; http.request_body; content:"newdesc=Field created via curl"; http.request_body; content:"newmaxSize=255"; http.request_body; content:"newsource="; http.request_body; content:"newlistid="; http.request_body; content:"newbackuplistid="; http.request_body; content:"newid=1 OR 1=1"; http.request_body; content:"csrf_token_form="; reference:url,poc.griffinguard.io/cve/CVE-2026-33910; classtype:web-application-attack; sid:9698321; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: openemr openemr exploit attempt (CVE-2026-33910)
id: gg-pocmon-cve-2026-33910-9397739
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33910. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-33910
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/interface/main/finder/patient_select.php'
cs-uri-query|contains|all:
- 'from_page='
- 'report_id=0'
- 'csrf_token_form=f242b99731487d705ef38764ac86b8341940ffab'
- 'findBy=Any'
- 'csrf_token_form='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.33910
title: openemr openemr exploit attempt (CVE-2026-33910)
id: gg-pocmon-cve-2026-33910-9698321
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33910. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-33910
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/interface/super/edit_layout.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.33910