CVE-2026-126488
OpenEMR before 8.5.0 contains an SQL injection vulnerability in the patient portal OnsiteDocument.Query endpoint, where mass-assigned _BitwiseAnd criteria parameters are placed unquoted into SQL with only quote-character escaping. Authenticated portal patients can inject SQL outside their per-patient scope to read the entire database, including other patients' demographics and users_secure password hashes.
Am I affected?
Check a product version without an account, or sign in for saved inventory assessments.
Ask about this evidenceTimeline
- Published by NVD
- Last updated by NVD
Affected products
| Product | Versions |
|---|---|
Open-Emr OpenemrComponent identitycpe:2.3:a:open-emr:openemr | before 8.5.0 |
Source evidence and freshness
Lifecycle: Analyzed. Technical severity: CVSS 4.0 · Provider: not recorded. Exploitation evidence and inventory applicability are separate assessments.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Remediation by product and branch
Open-Emr Openemr
before 8.5.0
verification required
Configuration prerequisites require review
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD · Verified: not recorded
FIRST EPSS forecast
No EPSS score has been imported for this vulnerability. This is unavailable data, not a zero forecast.
A model forecast of exploitation activity in the next 30 days. It does not establish applicability, observed attacks, impact or organisation-specific risk. FIRST methodology and limits
Sources: NVD and CISA known exploited vulnerabilities catalogue.