CVE-2026-57860: tailcallhq forgecode · Untrusted Functionality Inclusion
Affects tailcallhq forgecodeSource CVE Database V5
Not known to be exploited · CVSS 8.4 High.
Data as of 30 Nov 2026, 18:37 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| tailcallhqforgecode | Affected
| Fixed in– |
AI-suggested
Until an official fix is available, users should avoid running ForgeCode inside untrusted repositories or disable automatic loading/execution of MCP servers if possible. Monitor vendor communications for updates and apply patches promptly once released.
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.
References
- github.com/tailcallhq/forgecode/issues/3022 (opens in a new tab)
- github.com/tailcallhq/forgecode/issues/3252 (opens in a new tab)
- github.com/tailcallhq/forgecode (opens in a new tab)
- github.com/tailcallhq/forgecode/commit/68ca3a3a26c73c38a700453d3d021b5bbdc15dbd (opens in a new tab)
- vulncheck.com/advisories/forgecode-arbitrary-code-execution-via-unvetted-mcp-json-in-untrusted-repository (opens in a new tab)