Vulnerability · Published Jul 16, 2026 · Assigned by GitHub_M

CVE-2026-44968dbt-mcp: Argument Injection in dbt CLI Tool Wrappers via node_selection and resource_type Parameters

Medium 6.3

In plain English

A medium-severity argument injection in dbt-mcp from dbt-labs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.2%top 89.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIdbt-mcp1.17.1GHSA-xpww-f6pm-cfhq
PyPIdbt-mcp1.17.1PYSEC-2026-2444

Affected products (as reported)

VendorProductVersions
dbt-labs dbt-mcp < 1.17.1

Weakness: CWE-88 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

References