Skip to content
MediumVulnerability

CVE-2026-44968: dbt-mcp argument injection through node_selection and resource_type

Identifier
CVE-2026-44968
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

dbt-mcp, a Model Context Protocol server for interacting with dbt, prior to 1.17.1 appended unsanitized node_selection and resource_type values to the dbt subprocess argument list in _run_dbt_command() in src/dbt_mcp/dbt_cli/tools.py. An MCP client could thereby inject dbt global flags such as --profiles-dir, --project-dir, and --target into subprocess.Popen, even though shell=False blocks shell metacharacter injection.

Mitigation

Fixed in 1.17.1.