CVE-2026-44968
dbt-mcp is a Model Context Protocol server for interacting with …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-xpww-f6pm-cfhq
- github.com/dbt-labs/dbt-mcp/releases/tag/v1.17.1
- github.com/advisories/GHSA-xpww-f6pm-cfhq
- github.com/dbt-labs/dbt-mcp/commit/6534507b5e7a729758d5baece155602cad0bb22f
- github.com/dbt-labs/dbt-mcp/pull/752
- nvd.nist.gov/vuln/detail/CVE-2026-44968
- cve.org/CVERecord?id=CVE-2026-44968
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.