Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
ForgeCode Arbitrary Code Execution via Unvetted .mcp.json in Untrusted Repository
Vulnerability Description
ForgeCode (tailcallhq/forgecode), an AI pair-programming CLI, automatically loads and executes the MCP servers defined in a repository's .mcp.json file on startup without user confirmation. A malicious repository can supply a crafted .mcp.json whose mcpServers entries specify arbitrary command and args values (for example, command: bash with args: ['-c', 'touch /tmp/pwned']). When a user runs the forge CLI inside a cloned untrusted repository, the specified commands are spawned with the invoking user's privileges, resulting in arbitrary code execution. This provides a reliable initial-access and persistence primitive against developers who evaluate untrusted repositories with ForgeCode.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vulnerability Type
从非可信控制范围包含功能例程
Vulnerability Title
Tailcall Forge 软件供应链问题漏洞
Vulnerability Description
Tailcall Forge是美国Tailcall公司开源的一款Web中间件软件。 Tailcall Forge 2.11.1版本存在软件供应链问题漏洞,该漏洞源于启动时自动加载并执行仓库中.mcp.json文件定义的MCP服务器,且无需用户确认。恶意仓库可提供特制.mcp.json文件,指定任意命令及参数,当用户在克隆的不可信仓库中运行forge CLI时,指定命令将以调用用户权限执行,从而导致任意代码执行。
CVSS Information
N/A
Vulnerability Type
N/A