CVE-2026-126488

published 13 Nov 2026 · updated 13 Nov 2026

OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd

8.7HighCVSS 7.7EPSS 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 an SQL injection vulnerability in the patient portal OnsiteDocument.Query endpoint, where mass-assigned _BitwiseAnd criteria parameters are placed unquoted into SQL with only quote-character escaping. Authenticated portal patients can inject SQL outside their per-patient scope to read the entire database, including other patients' demographics and users_secure password hashes.

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-126488 severity on Zeptric[![CVE-2026-126488](https://zeptric.io/badge/cve/CVE-2026-126488.svg)](https://zeptric.io/cve/CVE-2026-126488)