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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| open-emr openemr | < 8.5.0 | 8.5.0 | Fixed |
| openemr | < 8.5.0 | 8.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openemr | < 8.5.0 | 8.5.0 |
| open-emr openemr | < 8.5.0 | 8.5.0 |
References
- GitHub Security Advisory (GHSA-vvj8-xpx8-p293) exploit mitigation vendor-advisory
- VulnCheck Advisory: OpenEMR before 8.5.0 SQL Injection via OnsiteActivityView _BitwiseAnd Criteria third-party-advisory
- ENISA EUVD EUVD-2026-124959 third-party-advisory