PoC Monitor
← All CVEs
CVE-2026-32127published 11 Mar 2026 20:53 UTCData: JSON · API

OpenEMR

SQL Injection Vulnerability in ajax graphs library (OpenEMR)

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.0.0.1, OpenEMR contains a SQL injection vulnerability in the ajax graphs library that can be exploited by authenticated attackers. The vulnerability exists due to insufficient input validation in the ajax graphs library. This vulnerability is fixed in 8.0.0.1.

First public PoC 13 days beforebefore publication · 26 Feb 2026
Public PoCs11 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.1

Fixed in 8.0.0.1

Mitigation

Upgrade openemr to 8.0.0.1 or later.

References

Timeline

Days relative to CVE publication
-15-12-9-6-3t=0+3+6First public PoC26 Feb 2026 · t−13dCVE published11 Mar 2026 · t = 0

First public PoC 13 days before publication; not in CISA KEV. First PoC: ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0 (created 26 Feb 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0 26 Feb 2026 −13 d 0 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

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 repo

POST /library/ajax/graphs.php

Key headers
Cookie: OpenEMR=84c7dded187f7601e7f0cd3d0a1780f2
Body markers
csrf_token_form=583918e787c3d7816d9cb522ab103d099e55b603 name=payload"injection table=LBF name=date,SLEEP(5) FROM (SELECT 1 AS field_value) AS ld UNION SELECT ld.field_value AS date name=date,SLEEP(1) FROM (SELECT NULL AS field_value) AS ld UNION SELECT 1 AS date,1 UNION SELECT ld.field_value AS date name=date, 1 FROM (SELECT 1 AS field_value) AS ld JOIN (SELECT 1 AS n UNION ALL SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4 UNION ALL SELECT 5) AS numbers WHERE 1 UNION ALL SELECT ld.field_value AS datedate name=date, 1 FROM (SELECT 1 AS field_value) AS ld JOIN (SELECT 1 AS n UNION ALL SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4 UNION ALL SELECT 5) AS numbers WHERE 0 UNION ALL SELECT ld.field_value AS datedate in application/x-www-form-urlencoded
Seen in
1 repo: ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0
Evidence
ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:62 ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:67 ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:70 ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:124 ChrisSub08/CVE-2026-32127_SqlInjectionVulnerabilityOpenEMR8.0.0/README.md:128

Regex

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

POST /library/ajax/graphs.php
(?i)^/library/ajax/graphs\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /library/ajax/graphs.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-32127 openemr openemr exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/library/ajax/graphs.php"; http.header; content:"Cookie: OpenEMR=84c7dded187f7601e7f0cd3d0a1780f2"; nocase; http.request_body; content:"csrf_token_form=583918e787c3d7816d9cb522ab103d099e55b603"; http.request_body; content:"name=payload|22|injection"; http.request_body; content:"table=LBF"; http.request_body; content:"name=date,SLEEP(5) FROM (SELECT 1 AS field_value) AS ld UNION SELECT ld.field_value AS date"; http.request_body; content:"name=date,SLEEP(1) FROM (SELECT NULL AS field_value) AS ld UNION SELECT 1 AS date,1 UNION SELECT ld.field_value AS date"; http.request_body; content:"name=date, 1 FROM (SELECT 1 AS field_value) AS ld JOIN (SELECT 1 AS n UNION ALL SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4 UNION ALL SELECT 5) AS numbers WHERE 1 UNION ALL SELECT ld.field_value AS datedate"; http.request_body; content:"name=date, 1 FROM (SELECT 1 AS field_value) AS ld JOIN (SELECT 1 AS n UNION ALL SELECT 2 UNION ALL SELECT 3 UNION ALL SELECT 4 UNION ALL SELECT 5) AS numbers WHERE 0 UNION ALL SELECT ld.field_value AS datedate"; reference:url,poc.griffinguard.io/cve/CVE-2026-32127; classtype:web-application-attack; sid:9136055; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /library/ajax/graphs.php
title: openemr openemr exploit attempt (CVE-2026-32127)
id: gg-pocmon-cve-2026-32127-9136055
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-32127. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-32127
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/library/ajax/graphs.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.32127