CVE-2026-126436: OpenEMR - Authorization Bypass
- Cve: CVE-2026-126436
- Name: OpenEMR - Authorization Bypass
- Description: OpenEMR before 8.5.0 contains an authorization bypass vulnerability that allows OAuth2 clients to use unregistered grant types because oauth_clients.grant_types is never enforced. Attackers can request tokens with grant_type=password to bypass the user consent screen, and disabled clients can redeem authorization codes using JWT client assertions.
- Impact: Attackers can obtain tokens without user consent and redeem authorization codes using disabled clients, potentially gaining unauthorized access.
- Remediation: Upgrade to OpenEMR 8.5.0 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs a valid OAuth2 client
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00367
- Epss percentile: 0.30908
- Assignee: [email protected]
- Published at: 2026-11-13T10:17:50Z
- Age in days: 11
- Modified at: 2026-11-17T21:01:50Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-126436
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-862 | Missing Authorization |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/openemr/openemr/security/advisories/GHSA-qjj7-c4m9-6f92 | nvd | Vendor Advisory |
| https://www.vulncheck.com/advisories/openemr-before-8.5.0-oauth2-grant-type-enforcement-bypass-via-token-endpoint | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| open-emr:openemr | < 8.5.0 | no | nvd | /v1/products/open-emr/openemr |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openemr/openemr | security_advisory | yes | /v1/repositories/openemr/openemr |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 2328
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports