CVE-2026-55837dbt-labs dbt-mcp
Medium 6.8 No auth needed
Follow: this CVE · dbt-labs · dbt-labs dbt-mcp We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.1
- 6.8
- EPSS
- —
- Auth required
- No
- Published
- Sep 14, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- 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.
What to do
- Apply the vendor's security update for dbt-mcp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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
- dbt-labs · dbt-mcp
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.