---
id: "CVE-2026-126436"
page: "https://infrastack.ai/live/CVE-2026-126436"
kind: "vulnerability"
aliases: ["CVE-2026-126436"]
title: "OpenEMR: OAuth2 clients skip grant-type checks and consent screen"
severity: "high"
cvss: 8.7
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["healthcare", "oauth2", "openemr", "other"]
not_affected_if: ["api-not-exposed", "oauth2-disabled"]
published_at: "2026-11-13T10:17:50+00:00"
first_seen_at: "2026-11-13T10:47:22+00:00"
updated_at: "2026-11-13T10:50:18+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126436", "first_seen_at": "2026-11-13T10:47:22+00:00"}]
exploit_sources: []
---

# OpenEMR: OAuth2 clients skip grant-type checks and consent screen

Link for people: https://infrastack.ai/live/CVE-2026-126436 (this .md is for agents)

OpenEMR before 8.5.0 does not enforce the grant types registered for each OAuth2 client, so a client can request tokens with grant_type=password and bypass the user consent screen. Disabled clients can also redeem authorization codes using JWT client assertions.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the OpenEMR version in use; versions before `8.5.0` are named as affected.

## Fix

- OpenEMR: move to `8.5.0` or later (per the NVD description).

## Timeline

- 2026-11-13T10:47:22+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126436

## Documents

- [advisory] Vendor advisory: github.com https://github.com/openemr/openemr/security/advisories/GHSA-qjj7-c4m9-6f92
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openemr-before-8.5.0-oauth2-grant-type-enforcement-bypass-via-token-endpoint

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
