Model Context Protocol Server Vulnerability in dbt-mcp by dbt Labs
CVE-2026-44968
6.3MEDIUM
What is CVE-2026-44968?
The dbt-mcp Model Context Protocol server exhibited a vulnerability where the function _run_dbt_command() failed to sanitize inputs for node_selection and resource_type values. This allowed an attacker to inject global dbt flags—such as --profiles-dir, --project-dir, and --target—into the subprocess argument list, even with shell execution safeguards in place. This issue was resolved in version 1.17.1, emphasizing the importance of input validation in command execution contexts.
Affected Version(s)
dbt-mcp < 1.17.1
