Skip to content

CVE-2026-126488 OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd

HighCVSS 8.3 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
open-emr openemr < 8.5.0 8.5.0 Fixed
openemr < 8.5.0 8.5.0 Fixed

Affected products

ProductAffected versionsFixed in
openemr < 8.5.0 8.5.0
open-emr openemr < 8.5.0 8.5.0

References