Description
dbt-mcp is a Model Context Protocol server for interacting with dbt. Prior to 1.17.1, DbtMCP.call_tool() in src/dbt_mcp/mcp/server.py logged the raw arguments dictionary at INFO level before each tool call and at ERROR level on exceptions, and configure_file_logging() wrote those records to dbt-mcp.log when DBT_MCP_SERVER_FILE_LOGGING=true, preserving sensitive sql_query, vars, and node_selection values in plaintext without automatic rotation or deletion. This issue is fixed in version 1.17.1.
Affected products
getdbt: dbt mcp server
References5
- github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-7xgw-6qf3-… ExploitMitigationVendor Advisory
- github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-7xgw-6qf3-… ExploitMitigationVendor Advisory
- github.com/dbt-labs/dbt-mcp/commit/6534507b5e7a729758d5baece155… Patch
- github.com/dbt-labs/dbt-mcp/pull/752 Issue TrackingPatch
- github.com/dbt-labs/dbt-mcp/releases/tag/v1.17.1 Release Notes
Metrics
- CVSS 3.1
-
3.3
LOW
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 6 · as of 15 November 2026
- CWE
- CWE-532
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.