Skip to content
Threat Feed
high advisory

OpenEMR: Improper authorization in ScopeRepository (CVE-2026-126494)

OpenEMR contains an improper authorization vulnerability in ScopeRepository::finalizeScopes() that allows read-only SMART/OAuth clients to obtain write scopes due to incorrect validation in ScopeEntity::containsScope().

CVE search metadata

CVE search record: CVE-2026-126494. Severity: high. CVSS: 7.1. KEV: no. Product: OpenEMR. Brief: OpenEMR: Improper authorization in ScopeRepository (CVE-2026-126494). Brief link: https://feed.craftedsignal.io/briefs/2026-11-openemr-auth-bypass-cve-2026-126494/

Triage facts

Revision 1
Applicability
OpenEMR
Evidence
Unknown
Severity
High
Sources
1 public source
Freshness
Revision 1Nov 13, 12:37 UTC
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance

OpenEMR contains an improper authorization vulnerability in the ScopeRepository::finalizeScopes() function. The issue arises because ScopeEntity::containsScope() ignores registered permissions.

Impact

SMART/OAuth clients registered with read-only scopes (user/<resource>.read) can request write scopes (user/<resource>.write), which potentially allows for the unauthorized creation, update, or deletion of appointments or patient data.

Recommendation

  • Upgrade to an unaffected version of OpenEMR.