dbt-mcp: Unauthenticated OAuth Context Endpoint Leaks dbt Platform Tokens
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| dbt-labs | dbt-mcp | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Dbt-labs | Dbt-mcp |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-jr33-mw75-7j8f | dbt MCP Server: Unauthenticated OAuth Context Endpoint Leaks dbt Platform Tokens |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.273% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dbt-labs
Dbt-labs dbt-mcp |
|
| Vendors & Products |
Dbt-labs
Dbt-labs dbt-mcp |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | dbt-mcp is a Model Context Protocol server for interacting with dbt. Prior to 1.20.0, the local OAuth helper in src/dbt_mcp/oauth/fastapi_app.py exposes GET /dbt_platform_context without authentication or Host validation after a user completes the dbt Platform OAuth flow. The endpoint returns the full DbtPlatformContext, including access_token and refresh_token values persisted by the context manager, to any process that can reach 127.0.0.1:6785. The absence of TrustedHostMiddleware allows a remote attacker to use DNS rebinding against a victim's browser because the helper accepts arbitrary Host headers, while a co-located process can request the endpoint directly. The stolen tokens provide immediate dbt Platform API access as the victim and persistent access through the refresh token, allowing access to or modification of projects, jobs, environment secrets, and related account data. This issue is fixed in version 1.20.0. | |
| Title | dbt-mcp: Unauthenticated OAuth Context Endpoint Leaks dbt Platform Tokens | |
| Weaknesses | CWE-200 CWE-306 CWE-346 |
|
| References |
| |
| Metrics |
cvssV3_1
|