dbt-mcp: Argument Injection in dbt CLI Tool Wrappers via node_selection and resource_type Parameters
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-88.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dbt-labs | dbt-mcp | before 1.17.1 | 1.17.1 | Patch available | CNA |
| — | dbt-mcp (PyPI) | before 1.17.1 | 1.17.1 | Patch available | GHSA-xpww-f6pm-cfhq |
- dbt-mcp Vendordbt-labs Affected before 1.17.1 Fixed in 1.17.1 Patch available CNA
- dbt-mcp (PyPI) Vendor— Affected before 1.17.1 Fixed in 1.17.1 Patch available GHSA-xpww-f6pm-cfhq
Remediation
- Fix · CNA dbt-mcp (dbt-labs) Fixed in 1.17.1
- Fix · GHSA-xpww-f6pm-cfhq dbt-mcp (PyPI) Fixed in 1.17.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-44968
- 2026-10-03 Alias added: GHSA-xpww-f6pm-cfhq
References
Patch 2
More dbt-labs Dbt Mcp Server vulnerabilities
- TI-2026-32832 dbt-mcp: All MCP Tool Arguments Including Raw SQL and --vars Credentials Transmitted to… CVSS 3.1MEDIUM 4.3
- TI-2026-32831 Sensitive information in log files in dbt-labs dbt-mcp CVSS 3.1LOW 3.3
Sources
- CVE-2026-44968 · CVE Program
- CVE-2026-44968 · NVD
- FIRST EPSS
- GHSA-xpww-f6pm-cfhq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences