mcp-cve-project

CVE-2026-55837 | dbt-mcp: Unauthenticated OAuth Context Endpoint Leaks dbt Platform Tokens | Medium |

CVE Information

Field Value
CVE / NVD CVE-2026-55837
Date (index) 2026-09-14
Affected product (index) dbt-mcp: Unauthenticated OAuth Context Endpoint Leaks dbt Platform Tokens
GHSA ID GHSA-jr33-mw75-7j8f
OWASP MCP Top 10 (2025) MCP01 — Token Mismanagement & Secret Exposure
Published / disclosed 2026-09-14
Ecosystem Source repository
Component dbt-labs/dbt-mcp
EPSS score 0.002730000 (FIRST EPSS, 2026-11-09)
CVSS score 6.8 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CWE CWE-200, CWE-306, CWE-346
Affected versions < 1.20.0
Fixed versions None named in the published CVE record
Fix status No fixed version in the published CVE record
Exploit status Public advisory. This note does not include exploit steps.
Notes Updated on 2026-11-09 from the published CVE record and FIRST EPSS.

CVE Breakdown


What is the vulnerability?

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.

Attack prerequisites / exposure

Depends on deployment. Typical MCP cases are a reachable HTTP or SSE listener, a malicious remote MCP server, a poisoned project configuration, or a person opening attacker-influenced content. Developer workstations and shared runners are high-value when the server runs with host access.

CVE is because of what bug?

The published weakness mapping is CWE-200, CWE-306, CWE-346. Use the linked advisory for the upstream root cause.

MCP-specific impact / why it matters

MCP connects a model to tools, files, and credentials on a host or network. A flaw in transport checks, path checks, command handling, or token binding can become code execution, credential exposure, or access to another user’s session.

Where was the bug? (source + snippet)

File and function names belong in the linked upstream advisory and patch. This index does not repeat exploit inputs.

Fix / Remediation

Apply the vendor’s patched release or commit. Until then, keep the affected MCP listener off untrusted networks and require authentication on HTTP transports.

Upstream fix (open source)

Workarounds / mitigations

Detection / verification