# CVE-2026-126465: OpenEMR before 8.5.0 SQL Injection via OnsiteActivityView _BitwiseAnd Criteria

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-13T09:35:03.882Z
- Modified: 2026-11-17T20:50:46.200Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

OpenEMR before 8.5.0 contains an SQL injection vulnerability in the patient portal api/onsiteactivityviews endpoint that allows any authenticated staff user to inject SQL through unquoted Id_BitwiseAnd Criteria values. Attackers can close the bitwise parenthesis and append OR or UNION SELECT clauses to read patient PHI, staff password hashes, MySQL authentication strings, and API tokens.

(As written by CVE List.)

## Affected

- openemr openemr: before 8.5.0 (not affected: 8.5.0)
- open-emr openemr: before 8.5.0

## Every score

- VulnCheck: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-vvj8-xpx8-p293> (exploit, mitigation, vendor-advisory)
- <https://www.vulncheck.com/advisories/openemr-before-8.5.0-sql-injection-via-onsiteactivityview-bitwiseand-criteria> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-126465](https://www.cve.org/CVERecord?id=CVE-2026-126465), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-126465](https://nvd.nist.gov/vuln/detail/CVE-2026-126465), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-126465 · Whole record: https://cve.day/CVE-2026-126465.json · Rebuilt by cve.day 2026-11-25T22:59:50.664Z
