{"id":"CVE-2026-126488","published":"2026-11-13T09:34:47Z","modified":"2026-11-13T15:59:03Z","title":"OpenEMR before 8.5.0 SQL Injection via OnsiteDocument.Query _BitwiseAnd","vendor":"openemr","product":"openemr","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00398,"percentile":0.34917,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-g2xw-rvhq-x543","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-onsitedocument-query-bitwiseand","tags":["third-party-advisory"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":6.98},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"openemr","affectedVersions":[{"vendor":"openemr","product":"openemr","versions":["< 8.5.0"]}],"fixedVersions":[{"vendor":"openemr","product":"openemr","versions":["8.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-13T15:29:43.032061Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-125136","exploited":false,"provenance":"source"}}