CVE-2026-57860

HIGHPre-NVD 7.87.8
EchelonGraph scoreHIGH confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-07-17. the CNA's CVSS baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: cna:vulncheck, epss, ghsa
Trending — 4 sources updated this weekElevated
7.8
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 7.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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 v3
7.8
EG Score
7.8(high)
EG Risk
51(Track*)
EG Risk 51/100SSVC: Track*

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity78% × 45%
Exploitation40% × 40%
Automatability0% × 15%
Action: Watch closely — could escalate to Attend.
EPSS
3.3%
KEV
Not listed

Published

July 17, 2026

Last Modified

July 20, 2026

Advisory Details (5)

Auto-updated Jul 17, 2026
Upstream fix merged — awaiting tagged release. Sources: github_commit.
generic

[Bug]: Arbitrary Code Execution when running forge in untrusted repo · Issue #3022 · tailcallhq/forgecode · GitHub

https://github.com/tailcallhq/forgecode/issues/3022
generic

ForgeCode Arbitrary Code Execution via Unvetted .mcp.json in Untrusted Repository | Advisories | VulnCheck

https://www.vulncheck.com/advisories/forgecode-arbitrary-code-execution-via-unvetted-mcp-json-in-untrusted-repository
generic

[Bug]: Command Execution via MCP Configuration Injection Without User Approval · Issue #3252 · tailcallhq/forgecode · GitHub

https://github.com/tailcallhq/forgecode/issues/3252
github_commit

commit 68ca3a3a26c7 (tailcallhq/forgecode)

Fix landed in tailcallhq/forgecode commit 68ca3a3a26c7 — awaiting tagged release

https://github.com/tailcallhq/forgecode/commit/68ca3a3a26c73c38a700453d3d021b5bbdc15dbd
generic

GitHub - tailcallhq/forgecode: AI enabled pair programmer for Claude, GPT, O Series, Grok, Deepseek, Gemini and 300+ models · GitHub

https://github.com/tailcallhq/forgecode

Vendor Advisories for CVE-2026-57860(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 17× in last 7d / 17× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-23 14:18 UTCEPSS rescore
  2. 2026-07-23 14:18 UTCEPSS rescore
  3. 2026-07-23 03:20 UTCEG score recompute
  4. 2026-07-23 00:15 UTCEG score recompute
  5. 2026-07-23 00:15 UTCGHSA enrichment
  6. 2026-07-22 14:08 UTCEPSS rescore
  7. 2026-07-22 14:08 UTCEPSS rescore
  8. 2026-07-21 15:25 UTCEPSS rescore
  9. 2026-07-20 17:08 UTCEPSS rescore
  10. 2026-07-19 14:31 UTCEPSS rescore
  11. 2026-07-19 14:31 UTCEPSS rescore
  12. 2026-07-19 02:29 UTCEPSS rescore
  13. 2026-07-17 20:02 UTCEG score recompute
  14. 2026-07-17 20:02 UTCGHSA enrichment
  15. 2026-07-17 18:03 UTCEG score recompute
  16. 2026-07-17 16:20 UTCEG score recompute
  17. 2026-07-17 16:19 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-57860?
CVE-2026-57860 is a high vulnerability published on July 17, 2026. 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…
When was CVE-2026-57860 disclosed?
CVE-2026-57860 was first published in the National Vulnerability Database on July 17, 2026, with the most recent update on July 20, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-57860 actively exploited?
CVE-2026-57860 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 3.3% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-57860?
CVE-2026-57860 has a CVSS v4.0 base score of 7.8 (CNA self-assessment; NVD's own analysis pending).
How do I remediate CVE-2026-57860?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-57860, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-57860

Explore →

Is Your Infrastructure Affected by CVE-2026-57860?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.