GHSA-xwmw-prc4-v3cr: Obot OAuth Dynamic Client Registration Enables Vulnerability

HIGH
CVSS 8.8
CWE-863
Published
Advisory Summary

GHSA-xwmw-prc4-v3cr is a HIGH (CVSS 8.8) oauth dynamic client registration enables vulnerability (CWE-863: Incorrect Authorization) affecting Obot libraries in the Go ecosystem. The issue involves oauth dynamic client registration enables api token theft via audience confusion. Remediation is available by upgrading affected packages to version 0.23.0.

GHSA-xwmw-prc4-v3cr at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-xwmw-prc4-v3cr
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-863: Incorrect Authorization
Affected Product Obot
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-xwmw-prc4-v3cr

To remediate this vulnerability, upgrade all affected Obot dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/obot-platform/obot fixed: 0.23.0
Upgrade github.com/obot-platform/obot to 0.23.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/obot-platform/obot

How to Check if You Are Affected

To determine whether your application is affected by GHSA-xwmw-prc4-v3cr, inspect your project dependencies for Obot:

inspect dependencies for github.com/obot-platform/obot

Analyze the terminal output to locate any version of Obot in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.23.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Obot, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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 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](https://github.com/EQSTLab) for responsibly disclosing this issue in accordance with our [security policy](https://github.com/obot-platform/obot/?tab=security-ov-file).

GHSA-xwmw-prc4-v3cr Affected Obot Versions

1 component(s)
Fixed Versions:
0.23.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/obot-platform/obot
Go
< 0.23.0
0.23.0

References

Frequently Asked Questions

What is GHSA-xwmw-prc4-v3cr?
GHSA-xwmw-prc4-v3cr is a security vulnerability in Obot involving OAuth Dynamic Client Registration Enables API Token Theft via Audience Confusion under CWE-863: Incorrect Authorization.
Which Obot versions are affected?
Affected versions include releases prior to 0.23.0 across affected packages: github.com/obot-platform/obot.
What version fixes GHSA-xwmw-prc4-v3cr?
Upgrading to 0.23.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/obot-platform/obot affected?
Yes, github.com/obot-platform/obot is affected in releases prior to 0.23.0. Upgrade your dependency to 0.23.0 or later.
What is the CVSS score of GHSA-xwmw-prc4-v3cr?
GHSA-xwmw-prc4-v3cr has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-xwmw-prc4-v3cr?
GHSA-xwmw-prc4-v3cr is classified under CWE-863: Incorrect Authorization (The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.).
How can I check Go dependencies for GHSA-xwmw-prc4-v3cr?
Run the dependency tree command: 'inspect dependencies for github.com/obot-platform/obot'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xwmw-prc4-v3cr",
  "modified" : "2026-09-18T17:59:35Z",
  "published" : "2026-09-18T17:59:35Z",
  "aliases" : [ ],
  "summary" : "Obot: OAuth Dynamic Client Registration Enables API Token Theft via Audience Confusion",
  "details" : "## Summary\n\nIn 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.\n\n## Am I affected?\n\nYou 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.\n\n## Details\n\nThree 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.)\n\n## Impact\n\nWorst 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.\n\n## Mitigation\n\nUpgrade 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.\n\n## Severity\n\nCVSS 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`\n\n## Credits\n\nThe Obot team would like to thank [@EQSTLab](https://github.com/EQSTLab) for responsibly disclosing this issue in accordance with our [security policy](https://github.com/obot-platform/obot/?tab=security-ov-file).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/obot-platform/obot"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.23.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/obot-platform/obot/security/advisories/GHSA-xwmw-prc4-v3cr"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/obot-platform/obot"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/obot-platform/obot/releases/tag/v0.23.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-863" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-18T17:59:35Z",
    "nvd_published_at" : null
  }
}