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.

Project Subscriptions

Vendors Products
Open-emr Subscribe
Openemr Subscribe
Openemr Subscribe
Openemr Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 16 Nov 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 14 Nov 2026 02:45:00 +0000

Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr

Fri, 13 Nov 2026 09:45:00 +0000

Type Values Removed Values Added
Description 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.
Title OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-89
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.3, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-13T15:59:03.735Z

Reserved: 2026-11-10T21:44:28.726Z

Link: CVE-2026-126488

cve-icon Vulnrichment

Updated: 2026-11-13T15:29:44.272Z

cve-icon NVD

Status : Analyzed

Published: 2026-11-13T10:17:59.087

Modified: 2026-11-13T19:42:48.427

Link: CVE-2026-126488

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-14T16:30:22Z

Weaknesses