Описание
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.
Ссылки
- Patch
- Issue TrackingPatch
- Release Notes
- ExploitMitigationVendor Advisory
- ExploitMitigationVendor Advisory
Уязвимые конфигурации
Конфигурация 1Версия до 1.17.1 (исключая)
cpe:2.3:a:getdbt:dbt_mcp_server:*:*:*:*:*:*:*:*
EPSS
Процентиль: 7%
0.00172
Низкий
6.3 Medium
CVSS3
Дефекты
CWE-88
Связанные уязвимости
CVSS3: 6.3
github
3 месяца назад
dbt MCP Server has an Argument Injection in dbt CLI Tool Wrappers via node_selection and resource_type Parameters
EPSS
Процентиль: 7%
0.00172
Низкий
6.3 Medium
CVSS3
Дефекты
CWE-88