CVE-2026-44968
MEDIUMdbt-mcp: Argument Injection in dbt CLI Tool Wrappers via node_selection and resource_type Parameters
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-xpww-f6pm-cfhq
X_Refsource_Misc x_refsource_misc
https://github.com/dbt-labs/dbt-mcp/pull/752
X_Refsource_Misc x_refsource_misc
https://github.com/dbt-labs/dbt-mcp/commit/6534507b5e7a729758d5baece155602cad0bb22f
X_Refsource_Misc x_refsource_misc
https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.17.1
Scores
CVSS v3
6.3
EPSS
0.0017
EPSS Percentile
6.9%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-88
Status
published
Products (2)
dbt-labs/dbt-mcp
< 1.17.1
getdbt/dbt_mcp_server
< 1.17.1
Published
Jul 16, 2026
Tracked Since
Jul 16, 2026