Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dbt-mcp
  4. ›
  5. CVE-2026-55837

CVE-2026-55837: dbt MCP Server: Unauthenticated OAuth Context Endpoint Leaks dbt Platform Tokens

June 19, 2026

The local OAuth helper FastAPI server bundled with dbt-mcp exposes the GET /dbt_platform_context endpoint without any form of authentication or host-origin validation. After a user completes the OAuth login flow against dbt Cloud (cloud.getdbt.com), the endpoint returns the full DbtPlatformContext object — including the victim’s access_token and refresh_token for the dbt Platform API — verbatim to any caller that can reach 127.0.0.1:6785. An attacker who can direct the victim’s browser to the helper origin via DNS rebinding, or who has co-located process access on the same host, can silently exfiltrate both tokens. The stolen bearer token grants full dbt Cloud API access as the victim; the refresh token enables persistent access beyond the original token’s expiry. CVSS Base Score: 8.0 (High).

References

  • github.com/advisories/GHSA-jr33-mw75-7j8f
  • github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-jr33-mw75-7j8f
  • nvd.nist.gov/vuln/detail/CVE-2026-55837

Code Behaviors & Features

Detect and mitigate CVE-2026-55837 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.20.0

Fixed versions

  • 1.20.0

Solution

Upgrade to version 1.20.0 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-306: Missing Authentication for Critical Function
  • CWE-346: Origin Validation Error

Source file

pypi/dbt-mcp/CVE-2026-55837.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:00 +0000.