Skip to content
MediumVulnerability

CVE-2026-55837: dbt-mcp local OAuth helper exposes tokens without authentication

Identifier
CVE-2026-55837
Published
Record updated
View JSON
Affected
  • dbt-mcp < 1.20.0
Fixed in
1.20.0

Summary

CVE-2026-55837 affects dbt-mcp, a Model Context Protocol server for 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 the dbt Platform OAuth flow, returning access_token and refresh_token values to any process that can reach 127.0.0.1:6785. A remote attacker can use DNS rebinding against a victim's browser, while a co-located process can request the endpoint directly, gaining dbt Platform API access as the victim and persistent access via the refresh token.

Mitigation

This issue is fixed in version 1.20.0.