SQL injection in OpenEMR patient portal OnsiteDocument query API
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
OpenEMR before 8.4.0 contains a mass assignment flaw in the patient portal OnsiteDocument query API, where request parameters set bitwise criteria filters that are placed unquoted into the SQL WHERE clause (CWE-89). An authenticated patient portal user can inject SQL through parameters such as Id_BitwiseAnd to read any database table, including other patients' records and staff password hashes.
Written with Claude Haiku 5.5 from the sources below · 2026-11-09
Description from the CNA
OpenEMR before 8.4.0 contains a mass assignment vulnerability in the patient portal OnsiteDocument query API that lets request parameters set bitwise criteria filters whose values are placed unquoted into the SQL WHERE clause. Authenticated patient portal users can inject SQL via parameters such as Id_BitwiseAnd to read any database table, including other patients' records and staff password hashes.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade OpenEMR to version 8.4.0, which fixes this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-09
- Fix · CNA openemr (openemr) Fixed in 8.4.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
openemr 8.4.0
15 records Highest priority Priority HIGH 6 HIGH, 5 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-86808 Token replay and PIN brute force in OpenEMR one-time authenticationPriority HIGH 81
- TI-2026-86844 Missing authorization in OpenEMR portal onsite-document APIsPriority HIGH 73
- TI-2026-86843 Improper authorization in OpenEMR REST API lets staff forge prescriptionsPriority HIGH 73
Timeline
- 2026-11-08 Threatist record created from CVE-2026-124444
- 2026-11-08 Alias added: GHSA-h4mx-8cw8-cfv2
- 2026-11-09 CISA SSVC decision points changed
References
More openemr vulnerabilities
- TI-2026-91365 OpenEMR OAuth scope flaw exposes FHIR Patient records to attackers CVSS 4.0CRITICAL 9.3
- TI-2026-86808 Token replay and PIN brute force in OpenEMR one-time authentication CVSS 4.0CRITICAL 9.3
- TI-2026-24664 SQL Injection Vulnerability in ajax graphs library (OpenEMR) CVSS 3.1HIGH 8.8
- TI-2026-85645 Missing access checks in OpenEMR let users reassign documents CVSS 3.1CRITICAL 9.6
- TI-2026-28796 OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection CVSS 4.0CRITICAL 9.4
- TI-2026-20308 OpenEMR's payments gateway_api_key secret rendered into client JS code CVSS 3.1CRITICAL 9.6
Sources
- CVE-2026-124444 · CVE Program
- CVE-2026-124444 · NVD
- FIRST EPSS
- GHSA-h4mx-8cw8-cfv2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences