---
id: CVE-2026-55837
title: dbt-mcp is a Model Context Protocol server for interacting with dbt
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
  com…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-200
  - CWE-306
  - CWE-346
vendor: dbt-labs
product: dbt-mcp
affected:
  - dbt-mcp < 1.20.0
patched:
  - dbt-mcp 1.20.0
published: '2026-09-14'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T16:17:10.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55837'
references:
  - url: >-
      https://github.com/dbt-labs/dbt-mcp/commit/b8bdb40f90ed29f6b36176c5f6c697aa27a035a9
    label: security-advisories@github.com
  - url: 'https://github.com/dbt-labs/dbt-mcp/pull/789'
    label: security-advisories@github.com
  - url: 'https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.20.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-jr33-mw75-7j8f
    label: security-advisories@github.com
  - url: >-
      https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-jr33-mw75-7j8f
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-jr33-mw75-7j8f'
tags:
  - nvd
  - cve.org
  - ghsa
  - pip
  - exploit-available
epss: 0.00211
epssPercentile: 0.11743
ecosystem: pip
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-16T15:19:49.758488Z'
ingestedAt: '2026-06-22T13:35:24.343Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-55837)

Affected packages:

- `dbt-mcp < 1.20.0`

Patched in:

- `dbt-mcp 1.20.0`

Source: https://github.com/advisories/GHSA-jr33-mw75-7j8f
