/

CVE-2026-101062

Severity:

HIGH RISK

(8.8)

OAuth Authorization Bypass (CWE-863) in Obot MCP API

CVE-2026-101062

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-863

Impact:

Unauthorized access and account-level resource compromise

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Obot's MCP OAuth flow can allow an attacker to obtain authorization tokens from a logged-in victim without authentication, redirect-URI restrictions, or an explicit consent step. Because the resulting token may not be limited to the requested MCP server and audience validation is incomplete, the attacker could access or modify resources available to the victim.

Affected context

The issue affects Obot deployments that enable authentication and expose the MCP OAuth dynamic client registration and authorization endpoints. Risk is increased when redirect URIs are not restricted, authorization completes automatically for an already authenticated user, and issued tokens are not audience-bound to the MCP server involved in the request.

Exploit preconditions

  • Attack surface: Obot's OAuth dynamic client registration and authorization

endpoints

  • Required access: The attacker must be able to register an OAuth client and

induce an authenticated victim to visit a crafted authorization URL

  • Trigger point: Authorization completion and redirection of the resulting

code to an attacker-controlled redirect URI

  • Token use: The attacker exchanges the code for tokens and presents them to

Obot APIs

  • Why exploitation is possible: Redirect targets are insufficiently

restricted, consent is absent, and token validation does not adequately

enforce the intended audience or MCP scope

Why this happens

The underlying bug is an authorization and token-validation design failure. Dynamic client registration accepts redirect destinations without an adequate allowlist, while the authorization flow can approve access for an already logged-in user without an explicit consent decision. In addition, accepting tokens based on issuer validation without enforcing the intended audience allows a token minted for one MCP context to be treated as a bearer credential across other accessible Obot APIs. This behavior maps to CWE-863, Incorrect Authorization, because access is granted without correctly enforcing the resource, client, and user authorization boundaries.

Potential impact

  • An attacker may obtain authorization codes and access or refresh tokens
  • The attacker could read resources available to the victim
  • The attacker could modify or otherwise act on the victim's accessible resources
  • The token may expose the victim's full group-derived permissions
  • Compromise could persist until issued tokens are revoked or expire

General mitigation guidance

Mitigation generally focuses on enforcing authorization boundaries at every OAuth stage. Redirect URIs can be restricted to pre-registered, exact-match destinations, and dynamic client registration can require controlled onboarding or administrative approval. Authorization requests can require an explicit consent screen that clearly identifies the client, requested MCP, scopes, and redirect target. Tokens can be audience-bound and resource-bound to the MCP involved in the request, with strict validation of issuer, audience, client, scope, expiry, and token type. Least-privilege group and API permissions, short token lifetimes, refresh-token rotation, and reliable revocation can limit residual exposure.

How teams detect issues like this

Detection approaches include reviewing OAuth handlers for unrestricted redirect-URI registration, automatic approval of authenticated requests, missing consent enforcement, and token validation that checks issuer but not audience or resource scope. Static analysis and code review can search for permissive redirect matching, bearer-token middleware with incomplete claim validation, and authorization decisions based only on session presence. Runtime monitoring can flag unusual client registrations, authorization requests targeting new redirect domains, cross-MCP token reuse, and unexpected resource changes. Policy checks can require exact redirect allowlists, audience validation, and security tests for authorization-code flows.

Sources

SourceLink
github.comgithub.com/obot-platform/obot/security/advisories/GHSA-xwmw-prc4-v3cr
vulncheck.comvulncheck.com/advisories/obot-before-0.23.0-authentication-bypass-via-oauth-dynamic-client-registration

Frequently asked

questions

Yes. An attacker can interact with exposed OAuth endpoints remotely, but

exploitation generally also requires inducing a logged-in victim to visit a

crafted authorization URL.

No. The described flow relies on the victim already being authenticated to

Obot; the attacker uses the resulting authorization response and tokens.

Require explicit user consent, restrict redirect URIs to exact trusted

destinations, bind tokens to their intended MCP audience and resource, and

validate all relevant OAuth claims before accepting a token.

Treat client registration, redirect validation, consent, token issuance, and

API authorization as separate security boundaries. Test each boundary for

cross-resource token reuse and enforce least privilege throughout the flow.

Find out what's already
exploitable in your codebase.