Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dbt-mcp
  4. ›
  5. CVE-2026-44968

CVE-2026-44968: dbt MCP Server has an Argument Injection in dbt CLI Tool Wrappers via node_selection and resource_type Parameters

May 14, 2026

_run_dbt_command() in src/dbt_mcp/dbt_cli/tools.py constructs the dbt subprocess argument list by appending user-supplied MCP tool parameters without sanitization. Two independent injection vectors exist. An MCP client can inject arbitrary dbt global flags — such as --profiles-dir, --project-dir, and --target — by crafting the node_selection string (Vector 1) or the resource_type JSON array (Vector 2). Because subprocess.Popen is called with shell=False and a list argument, shell metacharacter injection is not possible; however, this provides no defense against argument list injection (CWE-88), where attacker-controlled tokens are interpreted by the target process as flags rather than values.

References

  • github.com/advisories/GHSA-xpww-f6pm-cfhq
  • github.com/dbt-labs/dbt-mcp/releases/tag/v1.17.1
  • github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-xpww-f6pm-cfhq
  • nvd.nist.gov/vuln/detail/CVE-2026-44968

Code Behaviors & Features

Detect and mitigate CVE-2026-44968 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.17.1

Fixed versions

  • 1.17.1

Solution

Upgrade to version 1.17.1 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Source file

pypi/dbt-mcp/CVE-2026-44968.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:19 +0000.