| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-44968 |
| Date (index) | 2026-07-16 |
| Affected product (index) | dbt-mcp: argument injection in dbt CLI tool wrappers |
| GHSA ID | GHSA-xpww-f6pm-cfhq |
| OWASP MCP Top 10 (2025) | MCP05 — Command Injection & Execution |
| Published / disclosed | 2026-07-16 |
| Ecosystem | PyPI |
| Component | dbt-mcp / src/dbt_mcp/dbt_cli/tools.py |
| EPSS score | Not yet scored (FIRST EPSS as of indexing) |
| CVSS score | 6.3 (v3.1) |
| CWE | CWE-88 |
| Affected versions | < 1.17.1 |
| Fixed versions | 1.17.1 |
| Fix status | Patched |
| Exploit status | Public advisory |
| Notes | Added during 2026-08-25 gap review. Part of dbt-mcp advisory cluster (44968–44970). |
_run_dbt_command() appends unsanitized node_selection and resource_type MCP tool parameters to the dbt subprocess.Popen argument list. An MCP client can inject dbt global flags such as --profiles-dir, --project-dir, and --target (argument injection, not shell metacharacter injection).
Ability to invoke dbt MCP tools (normal client/agent access). Attacker may need a crafted profiles.yml at the injected path for full impact (e.g. DuckDB file write demonstration).
Argument injection (CWE-88): user-controlled tokens interpreted as CLI flags rather than positional values.
Prompt-injected agents can redirect dbt execution to attacker-controlled profiles/projects, potentially exfiltrating or overwriting data accessible to the dbt-mcp host.
src/dbt_mcp/dbt_cli/tools.py (_run_dbt_command())Upgrade to dbt-mcp >= 1.17.1, which validates and constrains injectable parameters.