# CVE-2026-126494: OpenEMR before 8.4.0 Privilege Escalation via SMART/OAuth Scope Finalization

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/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.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-13T09:34:41.832Z
- Modified: 2026-11-17T21:17:40.187Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

OpenEMR before 8.4.0 contains an improper authorization vulnerability in ScopeRepository::finalizeScopes() that allows read-only SMART/OAuth clients to obtain write scopes because ScopeEntity::containsScope() ignores registered permissions. Attackers with a client registered for user/<resource>.read can request user/<resource>.write to create, update, and delete appointments or patient data.

(As written by CVE List.)

## Affected

- openemr openemr: before 8.4.0 (not affected: 8.4.0)

## Every score

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

## References

- <https://github.com/openemr/openemr/security/advisories/GHSA-6cmr-r2rh-755m> (vendor-advisory)
- <https://www.vulncheck.com/advisories/openemr-before-8.4.0-privilege-escalation-via-smart-oauth-scope-finalization> (third-party-advisory)

## Sources

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

---

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