SecurityContext

CVE-2026-44968: dbt-mcp - Command Injection

  • Cve: CVE-2026-44968
  • Name: dbt-mcp - Command Injection
  • 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.
  • Impact: An MCP client can inject arbitrary dbt global flags, potentially altering command execution and impacting system behavior.
  • Remediation: Update to version 1.17.1 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: command_injection
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.3
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00206
  • Epss percentile: 0.10599
  • Assignee: [email protected]
  • Published at: 2026-07-16T18:16:43Z
  • Age in days: 131
  • Modified at: 2026-10-24T20:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-44968
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-88Improper Neutralization of Argument Delimiters in a Command

Public exploits

UrlSourceAdded date
https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-xpww-f6pm-cfhqnvd2026-07-16

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/dbt-labs/dbt-mcp/commit/6534507b5e7a729758d5baece155602cad0bb22fPatch
https://github.com/dbt-labs/dbt-mcp/pull/752Issue Tracking, Patch
https://github.com/dbt-labs/dbt-mcp/security/advisories/GHSA-xpww-f6pm-cfhqExploit, Mitigation, Vendor Advisory
https://github.com/dbt-labs/dbt-mcp/releases/tag/v1.17.1Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
getdbt:dbt_mcp_server< 1.17.1nonvd/v1/products/getdbt/dbt_mcp_server

Projects

RepositoryLink kindsIndexedUrl
dbt-labs/dbt-mcpcommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/dbt-labs/dbt-mcp

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-07-16
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts