P2 · HighCVSS 7.7
OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd
- CVE-2026-126488
- GHSA-hf2c-h9g2-rf29
- EUVD-2026-125136
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.
Text from the CVE.org record.
Affected
open-emr openemr
- before 8.5.0
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.