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.
Severity (CVSS)
| Base score | 2.5 |
|---|---|
| Severity | Low |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-532 — CWE-532: Insertion of Sensitive Information into Log File
Affected products
| Vendor | Product | Versions |
|---|---|---|
| dbt-labs | dbt-mcp | < 1.17.1 |
References
- https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-7xgw-6qf3-7w59 (x_refsource_CONFIRM)
- https://github.com/dbt-labs/dbt-mcp/pull/752 (x_refsource_MISC)
- https://github.com/dbt-labs/dbt-mcp/commit/6534507b5e7a729758d5baece155602cad0bb22f (x_refsource_MISC)
- https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.17.1 (x_refsource_MISC)
Generated from the official CVE List on 17 Jul 2026 07:01 UTC.