Skip to content

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

HighCVSS 7.1 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
MySQL

Description

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 Id_BitwiseAnd 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.

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