CVE-2026-126488: OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd
CVE-2026-126488 OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd
Summary: OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd
EPSS: 0.4% probability of exploitation in the next 30 days (percentile 34.6).
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.
UNKNOWN — vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
CVE-2026-126488 OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd