๐Ÿ” CVE Alert

CVE-2026-55837

MEDIUM 6.8

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

CVSS Score
6.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-200 CWE-306 CWE-346
Vendor dbt-labs
Product dbt-mcp
Published Sep 14, 2026
Stay Ahead of the Next One

Get instant alerts for dbt-labs dbt-mcp

Be the first to know when new medium vulnerabilities affecting dbt-labs dbt-mcp are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

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

Affected Versions

dbt-labs / dbt-mcp
< 1.20.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-jr33-mw75-7j8f github.com: https://github.com/dbt-labs/dbt-mcp/pull/789 github.com: https://github.com/dbt-labs/dbt-mcp/commit/b8bdb40f90ed29f6b36176c5f6c697aa27a035a9 github.com: https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.20.0