CVE-2026-126488
OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd
CVSS Score
7.7
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-89 |
| Vendor | openemr |
| Product | openemr |
| Published | Nov 13, 2026 |
Stay Ahead of the Next One
Get instant alerts for openemr openemr
Be the first to know when new high vulnerabilities affecting openemr openemr are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
openemr / openemr
0 < 8.5.0
References
Credits
๐ kah-ja