mcp-cve-project

CVE-2025-68433 | Zed IDE malicious MCP settings.json arbitrary code execution | High | 7.7

CVE Information

Field Value
CVE / NVD CVE-2025-68433
Date (index) 2025-12-17
Affected product (index) Zed IDE malicious MCP settings.json arbitrary code execution
GHSA ID GHSA-CV6G-CMXC-VW8J
OWASP MCP Top 10 (2025) MCP09 — Shadow MCP Servers
Published / disclosed 2025-12-17
Ecosystem Application / upstream project
Component Zed, a code editor, has an aribtrary code execution vulnerability in versions prior to 0.218.2-pre. The Zed IDE loads Mo
EPSS score 0.002520000 (FIRST EPSS, 2026-06-30)
CVSS score 7.3 HIGH CVSS v3.1 (NVD)
CWE CWE-77
Affected versions zed < 0.218.2-pre
Fixed versions 0.218.2
Fix status Patched
Exploit status Public CVE record

CVE Breakdown


What is the vulnerability?

Zed, a code editor, has an aribtrary code execution vulnerability in versions prior to 0.218.2-pre. The Zed IDE loads Model Context Protocol (MCP) configurations from the settings.json file located within a project’s .zed subdirectory. A malicious MCP configuration can contain arbitrary shell commands that run on the host system with the privileges of the user running the IDE. This can be triggered automatically without any user interaction besides opening the project in the IDE. Version 0.218.2-pre fixes the issue by implementing worktree trust mechanism. As a workaround, users should carefully review the contents of project settings files (./zed/settings.json) before opening new projects in Zed.

Attack prerequisites / exposure

Exposure depends on how the affected MCP server, client, gateway, plugin, or adjacent AI tool is deployed. Prioritize systems reachable by untrusted users or networks, systems that accept attacker-controlled tool arguments, and systems with access to credentials, browsers, cloud APIs, Kubernetes clusters, databases, email, or desktop automation.

CVE is because of what bug?

Primary mapped weakness: MCP09 — Shadow MCP Servers. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.

MCP-specific impact / why it matters

MCP components bridge model output to privileged tools. Vulnerabilities in authentication, scope enforcement, command execution, SSRF validation, secret handling, or tool registration can turn prompt/tool input into host compromise, credential disclosure, unauthorized cloud/database access, or persistent malicious tool execution.

Where was the bug? (source + snippet)

Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.

Fix / Remediation

Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.

Upstream fix (open source)

Workarounds / mitigations

Exploit / PoC

If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.

Detection / verification

Patch

Track NVD references for CVE-2025-68433 and apply the upstream patched release or commit recommended by the vendor/CNA.