CVE-2025-68432: zed · Command Injection
Affects zedSource CVE Database V5
Not known to be exploited · CVSS 7.8 High.
Data as of 26 Oct 2026, 11:42 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubzed-industries/zedpkg:github/zed-industries/zedOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade all Zed editor installations to version 0.218.2-pre or later immediately to benefit from the implemented worktree trust mechanism.
- Until upgrading, enforce strict policies requiring developers to manually review the contents of any project’s .zed/settings.json file before opening the project in Zed, especially for projects from untrusted sources.
- Implement endpoint protection solutions capable of detecting suspicious shell command executions originating from IDE processes.
- Educate developers on the risks of opening untrusted project files and encourage use of sandboxed or isolated environments when testing unknown projects.
- Use version control and code review processes to detect and prevent malicious configurations from entering shared repositories.
- Monitor logs for unusual command executions or process behaviors linked to Zed.
- Consider restricting network access or privileges of developer workstations to limit lateral movement if exploitation occurs.
- Employ application whitelisting to prevent unauthorized execution of unexpected commands or scripts triggered by the IDE.
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.