ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-126491

OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in getByPatientDemographics() where layout_options field_id values are concatenated into the patient search WHERE clause.

CVSS
7.6High
Chance of exploitation (EPSS)
0.35%
Published
Nov 13, 2026
In the news
Not yet
Vendor advisory More from this vendor

What to do

A serious SQL injection flaw in Openemr that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Fixed in: 8.5.0

Affected versions
Openemr
Before 8.5.0

Description

OpenEMR before 8.5.0 contains a stored SQL injection vulnerability in getByPatientDemographics() where layout_options field_id values are concatenated into the patient search WHERE clause. Attackers with Layout Editor access can plant a malicious field_id, allowing any authenticated low-privilege user to exfiltrate data from patient_data and users_secure tables.

CWE-89

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-126491 published (CVSS 7.6) (Nov 13, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Fri, Nov 13, 2026

  1. CVECVE-2026-126491 published (CVSS 7.6)CVE Program · 10:17 UTC

References 3

  • github.com ExploitVendor Advisory /openemr/openemr/security/advisories/GHSA-pc2q-9pcw-v899
  • github.com ExploitVendor Advisory /openemr/openemr/security/advisories/GHSA-pc2q-9pcw-v899
  • www.vulncheck.com /advisories/openemr-before-8.5.0-sql-injection-via-getbypatientdemographics-in-patient-inc-php

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”