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

Published Nov 13, 2026
·
Updated

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 userssecure password hashes.

Affected Software

2 affected components
OpenEMR OpenEMR<8.5.0
open-emr Openemr<8.5.0

Event History

Nov 13, 2026
CVE Published
via MITRE·09:34 AM
Data Sourced
via MITRE·09:34 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated patient portal user can exploit it. The attack does not require user interaction and can be performed over the network.

2

What data could be exposed?

An attacker can read data outside their assigned patient scope, potentially including the entire database. The disclosed examples include other patients' demographic records and users_secure password hashes.

3

Are installations running version 8.5.0 affected?

The vulnerability is reported in OpenEMR versions before 8.5.0. Installations running a version earlier than 8.5.0 should be treated as affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203