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

Published Nov 13, 2026
·
Updated

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.

Affected Software

1 affected component
OpenEMR OpenEMR<8.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenEMR to a version that resolves this vulnerability.

    Fixed in 8.4.0

Event History

Nov 13, 2026
CVE Published
via MITRE·09:34 AM
Data Sourced
via MITRE·09:34 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:18 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

OpenEMR deployments before 8.4.0 that use SMART/OAuth clients are exposed. The issue specifically affects clients registered with read-only user/<resource>.read permissions.

2

What does an attacker need to exploit it?

An attacker needs a registered SMART/OAuth client with a read scope for a resource. They can then request the corresponding write scope without user interaction.

3

What access can an attacker gain?

The attacker can obtain write scopes corresponding to their read scopes. This can allow creation, modification, and deletion of appointments or patient data.

4

Is a default deployment affected?

The available information does not establish whether SMART/OAuth clients or the affected scope configuration are enabled by default. Exposure depends on use of registered SMART/OAuth clients on an affected OpenEMR version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203