Live threats

All CVEs / dbt-labs

CVE-2026-55837dbt-labs dbt-mcp

Medium 6.8 No auth needed

Priority
56
CVSS 3.1
6.8
EPSS
—
Auth required
No
Published
Sep 14, 2026
Updated
Sep 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-306, CWE-346
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for dbt-mcp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI dbt-mcp < 1.20.0 1.20.0 pip install "dbt-mcp>=1.20.0"
PyPI dbt-mcp < 1.20.0 1.20.0 pip install "dbt-mcp>=1.20.0"

Per OSV / GitHub Advisories (GHSA-jr33-mw75-7j8f, PYSEC-2026-2443). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.