Skip to content
GitHub advisory IDGHSA-xwmw-prc4-v3cr

Obot: OAuth Dynamic Client Registration Enables API Token Theft via Audience Confusion

GHSA-xwmw-prc4-v3cr is a high-severity vulnerability with a CVSS 3.1 base score of 8.8, classed as Incorrect Authorization (CWE-863), in github.com/obot-platform/obot (Go). Affected versions: < 0.23.0. It is fixed in 0.23.0.

High8.8Fix availableGitHub reviewed

Published 18 Sept 2026Updated 18 Sept 2026

8.8HighCVSS 3.1
CVE ID
No CVE assigned
EPSS
Not scored
Weakness (CWE)
KEV status
Not in KEV
Published
18 Sept 2026
Updated
18 Sept 2026
Ecosystem
  • Go

Summary

Source: OSV (GitHub advisory)

In affected versions, an unauthenticated attacker could register an OAuth client with an arbitrary external redirect URI, and the authorization flow would auto-complete without a consent screen. If a logged-in victim visited a crafted authorization URL, an authorization code was delivered to the attacker's redirect URI and exchanged for an access token. That token was minted with the victim's full set of groups, so it could be used as a bearer token against the Obot API endpoints the victim had access to — rather than being scoped to just the requested MCP server.

Am I affected?

You are affected if you run Obot <= v0.22.1 with OBOT_SERVER_ENABLE_AUTHENTICATION=true. Exploitation requires a logged-in victim to visit a single attacker-controlled authorization URL.

Details

Three issues combined to create this vulnerability. First, OAuth dynamic client registration was reachable without authentication and applied no restriction on the redirect URIs a client could register, so an attacker could register a client pointing at their own domain. The authorization flow then auto-completed for an already-logged-in user with no consent step, so simply loading the authorization URL issued an authorization code and redirected it to the attacker's URI. Finally, the token minted by the MCP OAuth flow carried the victim's full group set in the JWT — the field used to authorize API paths — so although the token's audience was the requested MCP server, it was accepted across the victim's wider API access. (Obot's JWT verification validated the issuer but not the audience; audiences were enforced at the MCP layer.)

Impact

Worst case is that an attacker who gets a logged-in victim to click a crafted link obtains an access token (and refresh token) usable against the API endpoints the victim is authorized for — reading or modifying the victim's resources until the token is revoked. No attacker-side privileges are required.

Mitigation

Upgrade to v0.23.0 or later, which adds three protections: a consent screen that shows the requesting client and the MCP server it wants access to before authorization completes; restriction of tokens minted by the MCP OAuth flow to only the MCP involved in the request, so they can no longer reach the user's wider API access; and audience validation as a fail-safe ensuring these tokens are only accepted for the MCP server they were issued for.

Severity

CVSS v3.1 Score: 8.8/10 (High) — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Credits

The Obot team would like to thank @EQSTLab for responsibly disclosing this issue in accordance with our security policy.

Technical details

Source: GitHub Advisory Database

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

High8.8Base score from GitHub Advisory Database

Attack Vector AV
Network
Attack Complexity AC
Low
Privileges Required PR
None
User Interaction UI
Required
Scope S
Unchanged
Confidentiality C
High
Integrity I
High
Availability A
High

Affected packages

Source: OSV (GitHub advisory)

  • github.com/obot-platform/obot
    Go
    pkg:golang/github.com/obot-platform/obot
    Affected versions
    < 0.23.0
    Fixed in
    0.23.0

Fix

Source: OSV (GitHub advisory)

Fix available

Upgrade to 0.23.0 or later.

Vulnerability intelligence

References

Credits

Questions about GHSA-xwmw-prc4-v3cr

Does GHSA-xwmw-prc4-v3cr have a CVE ID?
No CVE ID has been assigned to GHSA-xwmw-prc4-v3cr yet. It is tracked only as a GitHub advisory.
What is the CVSS score of GHSA-xwmw-prc4-v3cr?
GHSA-xwmw-prc4-v3cr has a CVSS 3.1 base score of 8.8 (High), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Which versions are affected by GHSA-xwmw-prc4-v3cr?
github.com/obot-platform/obot (Go): < 0.23.0.
How do I fix GHSA-xwmw-prc4-v3cr?
Upgrade to 0.23.0 or later.
What is the Package URL (PURL) for GHSA-xwmw-prc4-v3cr?
The affected package's PURL is pkg:golang/github.com/obot-platform/obot.

Data sources

Upstream records

Fetched 2 days ago (13 Oct 2026, 12:55 UTC). Records refresh automatically after 24 hours.

Where each part of this page came from

Title and description
OSV (GitHub advisory)
Severity score
GitHub Advisory Database
Weakness (CWE)
GitHub Advisory Database
Affected packages
OSV (GitHub advisory)
Fix
OSV (GitHub advisory)
References
Computed by CVEminer

OSV and GitHub Advisory Database content is licensed CC BY 4.0. Values marked as computed or derived were calculated by CVEminer from the upstream data.