CVE-2026-57860Exploit

LOWCVSS 8.4 · HIGH

Exploit discussion active in current signal (2 latest mentions)

Immediate actions

  • Prioritize remediation for affected systems immediately
  • Hunt for exploitation attempts and persistence artifacts
  • Track advisory updates for patch or workaround availability

Recommended action window: High priority (within 72h)

NVD 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.

2.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-829

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

NONE

Threat summary

  • Exploit tooling references are present in monitored signal
  • 2 mentions across 1 observed day

What's happening

  • Exploit tool or code specified in 1 signal
  • Technical details provided in 1 signal
  • General: 1 classified signal
  • 2 total mentions across 1 day

Deep dive

Activity timeline2 mentions / 1d
01122Mentions · 2026-07-19: 2Exploit Tool / Code · 2026-07-19: 1Technical Details · 2026-07-19: 107-19
Signal classification2 categories
Exploit
150.0%
General
150.0%
Referenced assets1 URL
By indicator
Full discourse2 posts
  • Mohi@disismohi
    Exploit

    ForgeCode (@forgecodehq) (AI pair-programming CLI) auto-executes MCP servers from .mcp.json on startup. CVE-2026-57860: clone a malicious repo, run the tool, get arbitrary code execution. CVSS 7.8 HIGH. Here's what matters:

    Post summary

    ForgeCode’s auto‑execution of MCP servers via .mcp.json enables arbitrary code execution when a malicious repository is cloned, illustrating a RCE CVE-2026‑57860 with a CVSS score of 7.8.

    1000077
    73 followersView on X
  • Mohi@disismohi
    General

    Check your stack: does your AI assistant, build tool, or dev CLI auto-load commands from repo config? If yes, that's your Sunday threat model exercise. https://nvd.nist.gov/vuln/detail/CVE-2026-57860

    Post summary

    The tweet references CVE-2026-57860 and highlights a potential risk of AI assistants auto‑loading commands from repo configuration, but it offers no detailed technical or exploitation information.

    0000011
    73 followersView on X

Explore more