FR
live
High CVSS 7.8

CVE-2026-57860

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.

What this means

Exposure
Exploitable with local access to the machine and without authentication — but only if a user opens booby-trapped content.
Impact
An attacker can read sensitive data, modify or destroy data and take the service offline.
Weakness
Code from an untrusted source is loaded and executed.
Likelihood
Its EPSS score stays low: nothing points to imminent exploitation, which is no reason to leave it unpatched.

What to doFold into the next patch cycle.

Read automatically from the CVSS vector, the weakness type (CWE) and the EPSS score. The technical description above remains the one published by NIST.

Published
17 July 2026
CVSS
7.8 (v3.1) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.13% probability of exploitation within 30 days · above 3% of all CVEs
Weakness
CWE-829
Sources
nvd
References

Type at least two characters.

navigate open esc dismiss