CVE-2026-44968
dbt-mcp: Argument Injection in dbt CLI Tool Wrappers via node_selection and resource_type Parameters
CVSS Score
6.3
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-88 |
| Vendor | dbt-labs |
| Product | dbt-mcp |
| Published | Jul 16, 2026 |
Stay Ahead of the Next One
Get instant alerts for dbt-labs dbt-mcp
Be the first to know when new medium vulnerabilities affecting dbt-labs dbt-mcp are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
dbt-labs / dbt-mcp
< 1.17.1
References
github.com: https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-xpww-f6pm-cfhq github.com: https://github.com/dbt-labs/dbt-mcp/pull/752 github.com: https://github.com/dbt-labs/dbt-mcp/commit/6534507b5e7a729758d5baece155602cad0bb22f github.com: https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.17.1