OpenEMR before 8.4.0 SQL Injection via OnsiteDocument Query API
Only OpenEMR versions before 8.4.0 that expose the patient portal OnsiteDocument query API are affected. Fixed in 8.4.0.
Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.
- Exploited
- No known exploitation
- Fix
- Fixed in 8.4.0
- Who is exposed
- Specific setups only
Do first: Check whether your setup matches what the bug needs. OpenEMR versions before 8.4.0 (patient portal OnsiteDocument query API) Attacker needs a patient portal session Injection via the WHERE clause of the OnsiteDocument query API
- Last modified
- A 0-100 score for how much a CVE matters across the industry: exploitation, exposure, how widely the software is used, severity and whether a fix exists.What do these mean? →
- 15/100 · provisional
- How many real-world setups can hit the bug, from the vendor's advisory and CISA data. It does not know your setup.What do these mean? →
- Specific setups only
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
OpenEMR, the open-source electronic health records system, is affected by a SQL injection flaw in its patient portal OnsiteDocument query API. A remote attacker with a low-privilege patient portal login can inject SQL through request parameters such as Id_BitwiseAnd to read any database table, including other patients' records and staff password hashes.
Read the original description
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.
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure8/25Specific setups only, reachable over the network
- Reach?/20Unknown. No tracked technology or package matched
- Severity7.1/10CVSS 7.1
- No patch0/5No signal
What would change the score
- Would score about 65 if added to CISA KEV
- Would score about 60 if CISA's SSVC rates exploitation active
- Would score about 22 if CISA's SSVC rates it automatable
What to do
Check whether your setup matches what the bug needs.
OpenEMR versions before 8.4.0 (patient portal OnsiteDocument query API) Attacker needs a patient portal session Injection via the WHERE clause of the OnsiteDocument query APIUpgrade to a fixed version: 8.4.0.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- openemr openemr
fixed in 8.4.0
Evidence 2
- Advisory
- Link
Corrections
None so far.
Something wrong on this page? Report an error. Every fix is listed here.
Questions about CVE-2026-124444
Is CVE-2026-124444 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data
What does this mean?
The OnsiteDocument query API in the patient portal fails to safely handle input in its WHERE clause, which allows SQL injection. Per the facts, a low-privileged patient portal account could read any table in the OpenEMR database, including other patients' records and staff password hashes.Source: vulncheck.com, github.com
Which versions are affected by CVE-2026-124444?
openemr: before 8.4.0.Source: cve.now feed data
Am I affected, and how do I check?
OpenEMR versions before 8.4.0 are affected, specifically the patient portal OnsiteDocument query API. To check, look at the installed OpenEMR version number and compare it with 8.4.0.Source: vulncheck.com, github.com
How do I fix CVE-2026-124444?
Upgrade OpenEMR to 8.4.0 or later, which is the version that fixes this issue.Source: vulncheck.com, github.com