Skip to main content
← All vulnerabilities
CVE-2026-44968PYSEC-2026-2444GHSA-XPWW-F6PM-CFHQ

dbt-mcp: Argument Injection in dbt CLI Tool Wrappers via node_selection and resource_type Parameters

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.17.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

dbt-mcp is a Model Context Protocol server for interacting with dbt. Prior to 1.17.1, _run_dbt_command() in src/dbt_mcp/dbt_cli/tools.py appended unsanitized node_selection and resource_type values to the dbt subprocess argument list, allowing an MCP client to inject dbt global flags such as --profiles-dir, --project-dir, and --target into subprocess.Popen even though shell=False prevents shell metacharacter injection. This issue is fixed in version 1.17.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • dbt-labs dbt-mcp

    fixed in 1.17.1

  • dbt-mcpPyPI

    fixed in 1.17.1

References 4

GitHub · dbt-labs/dbt-mcp