CVE-2025-68433 Details
Description
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.
A vulnerability allowing arbitrary code execution has been identified in the Zed IDE, specifically in versions prior to 0.218.2-pre. The issue arises from the IDE loading Model Context Protocol (MCP) configurations from the 'settings.json' file within a project's '.zed' subdirectory. Malicious MCP configurations can be crafted to include arbitrary shell commands that execute on the host system with the same privileges as the user running the IDE. This exploitation can occur automatically, requiring only the user to open the project in Zed.
Users should update to Zed IDE version 0.218.2-pre or later, which includes a worktree trust mechanism to prevent automatic execution of potentially harmful code. If the update is not yet available, carefully review the 'settings.json' file for any malicious MCP configurations before opening projects in Zed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zed-industries/zed/security/advisories/GHSA-cv6g-cmxc-vw8j | [email protected] | ExploitVendor Advisory |
| https://zed.dev/blog/secure-by-default | [email protected] | ProductRelease Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| zed zed | < 0.218.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 19, 2026 | Initial Analysis | [email protected] |
| Dec 17, 2025 | New CVE Received | [email protected] |