{"id":"CVE-2026-126494","title":"OpenEMR before 8.4.0 Privilege Escalation via SMART/OAuth Scope Finalization","summary":"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 permissio…","severity":"high","cvss":7.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","cvssSource":"cna","cwe":["CWE-863"],"vendor":"openemr","product":"openemr","affected":["openemr < 8.4.0"],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-17T20:35:44.073691Z"},"exploitAvailable":true,"published":"2026-11-13","updated":"2026-11-17","sourceUpdated":"2026-11-17T20:42:12.771Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-126494","references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-6cmr-r2rh-755m","label":"GitHub Security Advisory (GHSA-6cmr-r2rh-755m)"},{"url":"https://www.vulncheck.com/advisories/openemr-before-8.4.0-privilege-escalation-via-smart-oauth-scope-finalization","label":"VulnCheck Advisory: OpenEMR before 8.4.0 Privilege Escalation via SMART/OAuth Scope Finalization"}],"tags":["cve.org","exploit-available"],"epss":0.00301,"epssPercentile":0.23017,"ingestedAt":"2026-11-13T10:36:39.599Z","slug":"CVE-2026-126494","body":"## Overview\n\nOpenEMR 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.\n\n## Affected\n\n- `openemr < 8.4.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":51,"depthScoreParts":{"impact":39.1,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":240497,"id":"CVE-2026-126494","ts":1794951943317,"field":"exploit_available","old":"false","new":"true"}]}