CVE-2026-55837
CVE-2026-55837 · dbt-mcp: Unauthenticated OAuth Context Endpoint Leaks dbt Platform Tokens
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 6.8 · Moyenne · EPSS 0,3% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: python
Produits et versions concernés
dbt-mcp
- Versions du logiciel
- < 1.20.0: Concernée
Aucun correctif publié
dbt-mcp PyPI
- Versions du logiciel
- 0.0.1a1
- 0.1.0
- 0.1.1
- 0.1.2
- 0.1.2rc1
- 0.1.2rc2
- 0.1.3
- 0.10.0
- 0.10.1
- 0.10.2
- 0.10.3
- 0.2.1
- 0.2.10
- 0.2.11
- 0.2.12
- 0.2.13
- 0.2.14
- 0.2.15
- 0.2.16
- 0.2.17
- 0.2.18
- 0.2.19
- 0.2.20
- 0.2.3
- 0.2.4
- 0.2.5
- 0.2.6
- 0.2.7
- 0.2.8
- 0.2.9
- 0.3.0
- 0.4.0
- 0.4.1
- 0.4.2
- 0.5.0
- 0.6.0
- 0.6.1
- 0.7.0
- 0.8.0
- 0.8.1
- 0.8.2
- 0.8.3
- 0.8.4
- 0.9.0
- 0.9.1
- 1.0.0
- 1.1.0
- 1.10.0
- 1.11.0
- 1.12.0
- 1.13.0
- 1.14.0
- 1.15.0
- 1.17.0
- 1.17.1
- 1.18.0
- 1.18.1
- 1.19.0
- 1.19.1
- 1.19.2
- 1.2.0
- 1.3.0
- 1.4.0
- 1.5.0
- 1.5.1
- 1.5.2
- 1.6.0
- 1.6.2
- 1.7.0
- 1.8.0
- 1.8.1
- 1.9.0
- 1.9.1
- 1.9.2
- 1.9.3
- Plages de versions concernées
- ECOSYSTEM: < 1.20.0
Mettez à jour vers 1.20.0
Sources originales
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-55837