CVE-2026-126465: OpenEMR before 8.5.0 SQL Injection via OnsiteActivityView _BitwiseAnd Criteria

Published Nov 13, 2026
·
Updated

OpenEMR before 8.5.0 contains an SQL injection vulnerability in the patient portal api/onsiteactivityviews endpoint that allows any authenticated staff user to inject SQL through unquoted IdBitwiseAnd Criteria values. Attackers can close the bitwise parenthesis and append OR or UNION SELECT clauses to read patient PHI, staff password hashes, MySQL authentication strings, and API tokens.

Affected Software

1 affected component
OpenEMR OpenEMR<8.5.0

Event History

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

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs an authenticated OpenEMR staff-user account. The vulnerable endpoint is in the patient portal API, but the described prerequisite is staff authentication rather than unauthenticated access.

2

What information could be exposed?

Successful SQL injection can be used to read patient protected health information, staff password hashes, MySQL authentication strings, and API tokens. The provided severity vector indicates high confidentiality impact, with no stated integrity or availability impact.

3

Which deployments are affected?

OpenEMR versions before 8.5.0 are affected. The issue is triggered through unquoted Id_BitwiseAnd Criteria values supplied to the api/onsiteactivityviews endpoint.

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