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

> CVE-2026-55837: dbt-mcp: Unauthenticated OAuth Context Endpoint Leaks dbt Platform Tokens. CVSS 6.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-55837
Last updated: 2026-09-30T17:51:56Z

- Published: 2026-09-14 16:55 UTC · Updated: 2026-09-30 17:51 UTC · Assigner: GitHub\_M
- CVSS: 6.8 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.27%, 19th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-200, CWE-306, CWE-346

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

## Affected vendors and products

- dbt-labs: dbt-mcp

## Tracked companies

- [dbt Labs](https://rewindex.com/company/dbt-labs.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-55837)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-55837)
- [https://github.com/dbt-labs/dbt-mcp/commit/b8bdb40f90ed29f6b36176c5f6c697aa27a035a9](https://github.com/dbt-labs/dbt-mcp/commit/b8bdb40f90ed29f6b36176c5f6c697aa27a035a9)
- [https://github.com/dbt-labs/dbt-mcp/pull/789](https://github.com/dbt-labs/dbt-mcp/pull/789)
- [https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.20.0](https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.20.0)
- [https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-jr33-mw75-7j8f](https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-jr33-mw75-7j8f)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-55837 · Markdown: https://rewindex.com/cve/CVE-2026-55837.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-55837 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:09:57.777Z
