{"id":"CVE-2026-44968","summary":"dbt-mcp: Argument Injection in dbt CLI Tool Wrappers via node_selection and resource_type Parameters","details":"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.","aliases":["GHSA-xpww-f6pm-cfhq","PYSEC-2026-2444"],"modified":"2026-07-19T03:30:50.866108207Z","published":"2026-07-16T17:48:29.604Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44968.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-88"]},"references":[{"type":"WEB","url":"https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.17.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44968.json"},{"type":"ADVISORY","url":"https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-xpww-f6pm-cfhq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44968"},{"type":"FIX","url":"https://github.com/dbt-labs/dbt-mcp/commit/6534507b5e7a729758d5baece155602cad0bb22f"},{"type":"FIX","url":"https://github.com/dbt-labs/dbt-mcp/pull/752"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/dbt-labs/dbt-mcp","events":[{"introduced":"0"},{"fixed":"6534507b5e7a729758d5baece155602cad0bb22f"},{"fixed":"291ddd1baedeacd86d36c5fab470b2ad2958a67d"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.17.1"}]}}],"versions":["v1.17.0","v1.16.0","v1.15.1","v1.15.0","v1.14.0","v1.13.0","v1.12.0","v1.11.0","v1.10.0","v1.9.3","v1.9.2","v1.9.1","v1.9.0","v1.8.1","v1.8.0","v1.7.0","v1.6.2","v1.6.1","v1.6.0","v1.5.2","v1.5.1","v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.10.3","v0.10.2","v0.10.1","v0.10.0","v0.9.1","v0.9.0","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.0","v0.6.2","v0.6.1","v0.6.0","v0.5.0","v0.4.2","v0.4.1","v0.4.0","v0.3.0","v0.2.14","v0.2.20","v0.2.19","v0.2.18","v0.2.17","v0.2.16","v0.2.15","v0.2.13","v0.2.12","v0.2.11","v0.2.10","v0.2.9","v0.2.8","v0.2.7","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44968.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}