Read the docs
TI-2026-40302 Aliases CVE-2026-55837GHSA-jr33-mw75-7j8f

dbt-mcp: Unauthenticated OAuth Context Endpoint Leaks dbt Platform Tokens

Priority HIGH 65CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Information disclosure, Security bypass
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200 and CWE-306.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00273 19th percentileScored 2026-11-07
Fix Fixed dbt-mcp (dbt-labs): 1.20.0dbt-mcp (PyPI): 1.20.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dbt-labsdbt-mcpbefore 1.20.01.20.0Patch availableCNA
—dbt-mcp (PyPI)before 1.20.01.20.0Patch availableGHSA-jr33-mw75-7j8f
  • dbt-mcp Vendordbt-labs Affected before 1.20.0 Fixed in 1.20.0 Patch available CNA
  • dbt-mcp (PyPI) Vendor— Affected before 1.20.0 Fixed in 1.20.0 Patch available GHSA-jr33-mw75-7j8f

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:getdbt:dbt_mcp_server:*:*:*:*:*:*:*:*——dbt-labs
  • cpe:2.3:a:getdbt:dbt_mcp_server:*:*:*:*:*:*:*:* Versions — — ·dbt-labs

Remediation

  • Fix · CNA dbt-mcp (dbt-labs) Fixed in 1.20.0
  • Fix · GHSA-jr33-mw75-7j8f dbt-mcp (PyPI) Fixed in 1.20.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-55837
  2. 2026-10-03 Alias added: GHSA-jr33-mw75-7j8f

References

  • TI-2026-74399 Unauthenticated SQL execution in dbt docs serve reads local files CVSS 4.0HIGH 8.2
  • TI-2024-23935 dbt allows Binding to an Unrestricted IP Address via socketsocket CVSS 3.1MEDIUM 5.3
  • TI-2026-32830 dbt-mcp: Argument Injection in dbt CLI Tool Wrappers via node_selection and resource_type Parameters CVSS 3.1MEDIUM 6.3
  • TI-2026-32832 dbt-mcp: All MCP Tool Arguments Including Raw SQL and --vars Credentials Transmitted to… CVSS 3.1MEDIUM 4.3
  • TI-2026-32831 Sensitive information in log files in dbt-labs dbt-mcp CVSS 3.1LOW 3.3
  • TI-2026-28367 dbt has a Command Injection in Reusable Workflow via Unsanitized comment-body Output CVSS 4.0CRITICAL 9.3
See all 8 →

Sources