CVE-2026-126488
OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd
- Severity
- high CVSS 8.3 (v4.0)
- Affects
- openemr
- Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- Published
- 13 November 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.