CVE-2026-55837
Received Received - Intake

OAuth Token Exposure in dbt-mcp Local Helper

Vulnerability report for CVE-2026-55837, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-14

Last updated on: 2026-09-14

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-14
Last Modified
2026-09-14
Generated
2026-09-14
AI Q&A
2026-09-14
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
dbt dbt_mcp to 1.20.0 (exc)
dbt-labs dbt-mcp to 1.20.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
CWE-346 The product does not properly verify that the source of data or communication is valid.
CWE-200 The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

dbt-mcp is a Model Context Protocol server for dbt. Prior to version 1.20.0, the local OAuth helper in src/dbt_mcp/oauth/fastapi_app.py exposes a GET endpoint without authentication or Host validation after OAuth completion. The endpoint returns sensitive tokens to any process accessing 127.0.0.1:6785.

Detection Guidance

Check if dbt-mcp version is below 1.20.0 by running: pip show dbt-mcp. If installed, verify if the local OAuth helper endpoint at 127.0.0.1:6785 is accessible without authentication. Test with curl http://127.0.0.1:6785/dbt_platform_context to see if it returns sensitive tokens.

Impact Analysis

An attacker can steal access tokens via DNS rebinding or direct local requests. These tokens grant immediate API access to dbt Platform as the victim and persistent access through refresh tokens. This allows unauthorized access to projects, jobs, secrets, and account data.

Compliance Impact

This vulnerability could lead to unauthorized access and exposure of sensitive data, violating GDPR (data protection) and HIPAA (health information privacy) requirements. Non-compliance may result in legal penalties and reputational damage.

Mitigation Strategies

Upgrade dbt-mcp to version 1.20.0 or later immediately. If upgrading is not possible, disable the local OAuth helper endpoint or restrict access to 127.0.0.1 only. Rotate all dbt Platform API tokens and secrets if tokens may have been exposed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-55837. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart