Obot: OAuth Dynamic Client Registration Enables API Token Theft via Audience Confusion
## Summary 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 acros
GHSA-xwmw-prc4-v3cr
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-xwmw-prc4-v3cr
github.com/obot-platform/obot
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 0.23.0
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.23.0"
}
]
}
],
"package": {
"name": "github.com/obot-platform/obot",
"purl": "pkg:golang/github.com/obot-platform/obot",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-xwmw-prc4-v3cr/GHSA-xwmw-prc4-v3cr.json"
}
}
]- Related CVEs
- CVE-2026-101062
Source reference:
/aliases
Publisher severity
high
Source reference: /database_specific/severity
- Event
- #23385 · Revision 1
- Added to Heist Feed
- Publisher date