Skip to content
OpenAdvisories
High · 7.7 CVE-2026-126488 EUVD-2026-125136GHSA-hf2c-h9g2-rf29

OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd

Published Nov 13, 2026 · Updated Nov 13, 2026 · Assigned by VulnCheck

Description

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 products

VendorProductAffectedFixed
openemr openemr < 8.5.0 8.5.0

References