CVE-2026-126491

published 13 Nov 2026 · updated 17 Nov 2026

OpenEMR before 8.5.0 SQL Injection via getByPatientDemographics in patient.inc.php

8.6HighCVSS 7.6EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 8.5.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
open-emropenemr<8.5.08.5.0
openemr<8.5.08.5.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126491 severity on Zeptric[![CVE-2026-126491](https://zeptric.io/badge/cve/CVE-2026-126491.svg)](https://zeptric.io/cve/CVE-2026-126491)