NetSight
high7.7

CVE-2026-126488

OpenEMR before 8.5.0 contains an SQL injection vulnerability in the patient portal OnsiteDocument.Query endpoint, where mass-assigned _BitwiseAnd criteria para…

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read. The attack can reach beyond the vulnerable component itself.

Affected products · Openemr

ProductAffected versions
Openemr
before 8.5.0

Weakness classification

References