mcp-cve-project

CVE-2026-44969 | dbt-mcp plaintext tool argument logging | Low | 2.5

CVE Information

Field Value
CVE / NVD CVE-2026-44969
Date (index) 2026-07-16
Affected product (index) dbt-mcp: SQL/credentials logged in plaintext when file logging enabled
GHSA ID GHSA-7xgw-6qf3-7w59
OWASP MCP Top 10 (2025) MCP01 — Token Mismanagement & Secret Exposure
Published / disclosed 2026-07-16
Ecosystem PyPI
Component dbt-mcp / src/dbt_mcp/mcp/server.py
EPSS score Not yet scored (FIRST EPSS as of indexing)
CVSS score 2.5 (v3.1)
CWE CWE-532
Affected versions < 1.17.1
Fixed versions 1.17.1
Fix status Patched
Exploit status Public advisory
Notes Added during 2026-08-25 gap review. Requires DBT_MCP_SERVER_FILE_LOGGING=true.

CVE Breakdown

What is the vulnerability?

DbtMCP.call_tool() logs the raw arguments dictionary at INFO before each tool call and at ERROR on exceptions. When DBT_MCP_SERVER_FILE_LOGGING=true, records persist in dbt-mcp.log without redaction, rotation, or deletion — exposing sql_query, vars, and node_selection in plaintext.

Attack prerequisites / exposure

File logging enabled via documented env var. Local or shared filesystem access to the log file.

CVE is because of what bug?

Insertion of sensitive information into log files (CWE-532).

MCP-specific impact / why it matters

MCP tool arguments often carry SQL, PII, and --vars credentials; persistent logs become a secondary secret store on developer machines and CI runners.

Where was the bug? (source + snippet)

Fix / Remediation

Upgrade to dbt-mcp >= 1.17.1, which redacts sensitive fields and raises the file handler default to WARNING.

Disable file logging unless required; restrict log file permissions and rotate aggressively.