Skip to content
OpenAdvisories
Low · 2.5 CVE-2026-44969 EUVD-2026-44993GHSA-7xgw-6qf3-7w59PYSEC-2026-2441

dbt-mcp: Tool Arguments Including SQL Queries and Credentials Logged in Plaintext Without Redaction When File Logging Is Enabled

Published Jul 16, 2026 · Updated Jul 17, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
dbt-labs dbt-mcp < 1.17.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI dbt-mcp < 1.17.1 1.17.1 GHSA-7xgw-6qf3-7w59

References