What’s Vulnerable › Vulnerabilities
CVE-2026-44968: dbt-mcp: Argument Injection in dbt CLI Tool Wrappers via node_selection and resource_type Parameters
- Severity: medium (CVSS 6.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-16 · updated 2026-10-24
- Weakness: CWE-88
Description
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.
Affected products
- dbt-labs dbt-mcp: before 1.17.1 — fixed in 1.17.1
How to fix
Upgrade to a fixed version: dbt-labs dbt-mcp 1.17.1. Check the vendor advisory for mitigations.
References
- https://github.com/dbt-labs/dbt-mcp/commit/6534507b5e7a729758d5baece155602cad0bb22f
- https://github.com/dbt-labs/dbt-mcp/pull/752
- https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.17.1
- https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-xpww-f6pm-cfhq
- https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-xpww-f6pm-cfhq
Get alerted when CVE-2026-44968 or the next vulnerability affects your stack