PoC Monitor
← All CVEs
CVE-2026-25746published 25 Feb 2026 18:39 UTCData: JSON · API

OpenEMR

OpenEMR has SQL Injection Vulnerability

OpenEMR is a free and open source electronic health records and medical practice management application. Versions prior to 8.0.0 contain a SQL injection vulnerability in prescription that can be exploited by authenticated attackers. The vulnerability exists due to insufficient input validation in the prescription listing functionality. Version 8.0.0 fixes the vulnerability.

First public PoC 22 days beforebefore publication · 3 Feb 2026
Public PoCs22 on GitHub
CVSS8.8high · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

openemr openemr
  • < 8.0.0

Fixed in 8.0.0

Mitigation

Upgrade openemr to 8.0.0 or later.

References

Timeline

Days relative to CVE publication
-21-14-7t=0+7First public PoC3 Feb 2026 · t−22dCVE published25 Feb 2026 · t = 0

First public PoC 22 days before publication; not in CISA KEV. First PoC: ChrisSub08/CVE-2026-25746_SqlInjectionVulnerabilityOpenEMR7.0.4 (created 3 Feb 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
ChrisSub08/CVE-2026-25746_SqlInjectionVulnerabilityOpenEMR7.0.4 3 Feb 2026 −22 d 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

ahmdxi/openemr-exploit-chain 27 Sep 2026 +214 d 0 PoC via PoC Index

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 2 PoC repos

GET /

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: fr,fr-FR;q=0.9,en-US;q=0.8,en;q=0.7 Priority: u=0, i Referer: https://{var}/interface/login/login.php?site=default Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: same-origin Sec-Fetch-User: ?1 Upgrade-Insecure-Requests: 1
Ports
8000, 8443
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:149.0) Gecko/20100101 Firefox/149.0
Seen in
1 repo: ahmdxi/openemr-exploit-chain
Evidence
ahmdxi/openemr-exploit-chain/orc.py:155 ahmdxi/openemr-exploit-chain/orc.py:298 ahmdxi/openemr-exploit-chain/orc.py:315

GET /controller.php

Query
prescription= list= id=1 sort= sort=(SELECT 1) sort=(SELECT SLEEP(5)) sort=(SELECT ((ASCII(SUBSTRING(username,1,1)) DIV 128)MOD 2) FROM users LIMIT 1)
Key headers
Cookie: OpenEMR=619d6abca06d21fe709779f348c0a5de Cookie: OpenEMR=5d884df35b6ff2fddf12d83da5095ae8
Seen in
1 repo: ChrisSub08/CVE-2026-25746_SqlInjectionVulnerabilityOpenEMR7.0.4
Evidence
ChrisSub08/CVE-2026-25746_SqlInjectionVulnerabilityOpenEMR7.0.4/README.md:112 ChrisSub08/CVE-2026-25746_SqlInjectionVulnerabilityOpenEMR7.0.4/README.md:117 ChrisSub08/CVE-2026-25746_SqlInjectionVulnerabilityOpenEMR7.0.4/README.md:120 ChrisSub08/CVE-2026-25746_SqlInjectionVulnerabilityOpenEMR7.0.4/README.md:123

GET /interface/login/login.php

Query
site=default
Ports
8000, 8443
Seen in
1 repo: ahmdxi/openemr-exploit-chain
Evidence
ahmdxi/openemr-exploit-chain/orc.py:144

GET /interface/new/new.php

Ports
8000, 8443
Seen in
1 repo: ahmdxi/openemr-exploit-chain
Evidence
ahmdxi/openemr-exploit-chain/orc.py:198

GET /portal/get_patient_info.php

Ports
8000, 8443
Seen in
1 repo: ahmdxi/openemr-exploit-chain
Evidence
ahmdxi/openemr-exploit-chain/orc.py:490

POST /interface/main/backup.php

Body markers
csrf_token_form= form_step=102 form_cb_addlists=1 form_sel_lists[]= form_sel_layouts[]= in application/x-www-form-urlencoded
Ports
8000, 8443
Seen in
1 repo: ahmdxi/openemr-exploit-chain
Evidence
ahmdxi/openemr-exploit-chain/orc.py:528

POST /interface/main/main_screen.php

Query
auth=login site=default
Body markers
new_login_session_management=1 languageChoice=1 authUser=admin clearPass=pass in application/x-www-form-urlencoded
Ports
8000, 8443
Seen in
1 repo: ahmdxi/openemr-exploit-chain
Evidence
ahmdxi/openemr-exploit-chain/orc.py:145

POST /interface/new/new_comprehensive_save.php

Key headers
Referer: {var}/interface/new/new.php
Body markers
csrf_token_form= form_fname=Auto form_lname=Noise form_DOB=1980-01-01 form_sex=Female form_pharmacy_id=0 in application/x-www-form-urlencoded
Ports
8000, 8443
Seen in
1 repo: ahmdxi/openemr-exploit-chain
Evidence
ahmdxi/openemr-exploit-chain/orc.py:226

POST /interface/super/edit_layout.php

Query
layout_id=
Key headers
Referer: {var}/interface/super/edit_layout.php Referer: {var}/interface/super/edit_layout.php?layout_id={var}
Body markers
csrf_token_form= formaction=addgroup newgroupname=1 newgroupparent=1 layout_id=LBF"';nc formaction=deletegroup deletegroupid= deletefieldgroup=1 selectedfields= in application/x-www-form-urlencoded
Ports
8000, 8443
Seen in
1 repo: ahmdxi/openemr-exploit-chain
Evidence
ahmdxi/openemr-exploit-chain/orc.py:515 ahmdxi/openemr-exploit-chain/orc.py:551

POST /portal/get_patient_info.php

Key headers
Referer: {var} Referer: https://{var}/portal/get_patient_info.php
Body markers
eid= resname=empty form_action=save recurr_affect= selected_date=2026-09-26 event_start_date=2026-09-26 old_repeats=0 rt2_flag2=0 form_category=9 form_title=Noise appt facility=3 billing_facility=3 form_patient=Noise form_pid= form_dob= form_provider=1 form_date=2026-09-26 form_allday=0 form_hour=8 form_minute=30 form_duration=15 form_repeat_exdate= form_apptstatus=- form_prefcat=0 form_room=2 form_comments=noise csrf_token_form= issue=0 thistype=medical_problem thispid= thisenc=0 form_type=0 form_active=1 form_titles=Noise dx form_title=Noise dx form_title_id=Noise dx form_begin=2026-09-11 21:37 form_end= form_reaction= form_severity_id=unassigned form_diagnosis= form_occur=0 form_outcome=0 form_subtype= form_classification=0 form_verification=confirmed form_referredby= form_destination= form_return= row_reinjury_id= form_save=Save in application/x-www-form-urlencoded
Ports
8000, 8443
Seen in
1 repo: ahmdxi/openemr-exploit-chain
Evidence
ahmdxi/openemr-exploit-chain/orc.py:241 ahmdxi/openemr-exploit-chain/orc.py:264

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /
(?i)^/(?:[?#].*)?$
GET /controller.php
(?i)^/controller\.php\?(?:.*&)?prescription=.*list=.*id=1.*sort=.*sort=\(SELECT 1\).*sort=\(SELECT SLEEP\(5\)\).*sort=\(SELECT \(\(ASCII\(SUBSTRING\(username,1,1\)\) DIV 128\)MOD 2\) FROM users LIMIT 1\)
GET /interface/login/login.php
(?i)^/interface/login/login\.php\?(?:.*&)?site=default
GET /interface/new/new.php
(?i)^/interface/new/new\.php(?:[?#].*)?$
GET /portal/get_patient_info.php
(?i)^/portal/get_patient_info\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /
alert http any any -> $HOME_NET [8000,8443] (msg:"GG PoC-Monitor CVE-2026-25746 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: fr,fr-FR|3b|q=0.9,en-US|3b|q=0.8,en|3b|q=0.7"; nocase; http.header; content:"Priority: u=0, i"; nocase; http.header; content:"Referer: https://"; nocase; http.header; content:"Sec-Fetch-Dest: document"; nocase; http.header; content:"Sec-Fetch-Mode: navigate"; nocase; http.header; content:"Sec-Fetch-Site: same-origin"; nocase; http.header; content:"Sec-Fetch-User: ?1"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-25746; classtype:web-application-attack; sid:9788456; rev:1;)
GET /controller.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-25746 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/controller.php"; http.uri; content:"prescription="; http.uri; content:"list="; http.uri; content:"id=1"; http.uri; content:"sort="; http.uri; content:"sort=(SELECT 1)"; http.uri; content:"sort=(SELECT SLEEP(5))"; http.uri; content:"sort=(SELECT ((ASCII(SUBSTRING(username,1,1)) DIV 128)MOD 2) FROM users LIMIT 1)"; http.header; content:"Cookie: OpenEMR=619d6abca06d21fe709779f348c0a5de"; nocase; http.header; content:"Cookie: OpenEMR=5d884df35b6ff2fddf12d83da5095ae8"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-25746; classtype:web-application-attack; sid:9235846; rev:1;)
GET /interface/login/login.php
alert http any any -> $HOME_NET [8000,8443] (msg:"GG PoC-Monitor CVE-2026-25746 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/interface/login/login.php"; http.uri; content:"site=default"; reference:url,poc.griffinguard.io/cve/CVE-2026-25746; classtype:web-application-attack; sid:9066777; rev:1;)
GET /interface/new/new.php
alert http any any -> $HOME_NET [8000,8443] (msg:"GG PoC-Monitor CVE-2026-25746 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/interface/new/new.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-25746; classtype:web-application-attack; sid:9693065; rev:1;)
GET /portal/get_patient_info.php
alert http any any -> $HOME_NET [8000,8443] (msg:"GG PoC-Monitor CVE-2026-25746 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/portal/get_patient_info.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-25746; classtype:web-application-attack; sid:9832482; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /
title: openemr openemr exploit attempt (CVE-2026-25746)
id: gg-pocmon-cve-2026-25746-9788456
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25746. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-25746
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.25746
GET /controller.php
title: openemr openemr exploit attempt (CVE-2026-25746)
id: gg-pocmon-cve-2026-25746-9235846
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25746. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-25746
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/controller.php'
    cs-uri-query|contains|all:
      - 'prescription='
      - 'list='
      - 'id=1'
      - 'sort='
      - 'sort=(SELECT 1)'
      - 'sort=(SELECT SLEEP(5))'
      - 'sort=(SELECT ((ASCII(SUBSTRING(username,1,1)) DIV 128)MOD 2) FROM users LIMIT 1)'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.25746
GET /interface/login/login.php
title: openemr openemr exploit attempt (CVE-2026-25746)
id: gg-pocmon-cve-2026-25746-9066777
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25746. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-25746
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/interface/login/login.php'
    cs-uri-query|contains|all:
      - 'site=default'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.25746
GET /interface/new/new.php
title: openemr openemr exploit attempt (CVE-2026-25746)
id: gg-pocmon-cve-2026-25746-9693065
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25746. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-25746
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/interface/new/new.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.25746
GET /portal/get_patient_info.php
title: openemr openemr exploit attempt (CVE-2026-25746)
id: gg-pocmon-cve-2026-25746-9832482
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25746. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-25746
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/portal/get_patient_info.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.25746