CVE-2025-68432 Details
Description
Zed, a code editor, has an aribtrary code execution vulnerability in versions prior to 0.218.2-pre. The Zed IDE loads Language Server Protocol (LSP) configurations from the `settings.json` file located within a project’s `.zed` subdirectory. A malicious LSP 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 when a user opens project file for which there is an LSP entry. A concerted effort by an attacker to seed a project settings file (`./zed/settings.json`) with malicious language server configurations could result in arbitrary code execution with the user's privileges if the user opens the project in Zed without reviewing the contents. 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 Language Server Protocol (LSP) configurations from the 'settings.json' file within a project's '.zed' subdirectory. Malicious LSP configurations can include arbitrary shell commands that execute on the host system with the privileges of the user running the IDE. This vulnerability can be exploited when a user opens a project file associated with a malicious LSP entry, potentially leading to unauthorized code execution.
Users should update to Zed IDE version 0.218.2-pre or later, which includes a worktree trust mechanism to prevent automatic execution of malicious LSP configurations. If the update is not yet available, users should manually review and edit the 'settings.json' file in the '.zed' directory of their projects to remove any harmful LSP entries before opening the project 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-29cp-2hmh-hcxj | [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
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| 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] |