Skip to main content
VulnerabilityPublished

CVE-2025-68432: zed · Command Injection

Affects zedSource CVE Database V5

0

Not known to be exploited · CVSS 7.8 High.

Data as of 26 Oct 2026, 11:42 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubzed-industries/zedpkg:github/zed-industries/zedOther threatsAffected
  • =0.218.2-pre
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade all Zed editor installations to version 0.218.2-pre or later immediately to benefit from the implemented worktree trust mechanism.
  2. 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.
  3. Implement endpoint protection solutions capable of detecting suspicious shell command executions originating from IDE processes.
  4. Educate developers on the risks of opening untrusted project files and encourage use of sandboxed or isolated environments when testing unknown projects.
  5. Use version control and code review processes to detect and prevent malicious configurations from entering shared repositories.
  6. Monitor logs for unusual command executions or process behaviors linked to Zed.
  7. Consider restricting network access or privileges of developer workstations to limit lateral movement if exploitation occurs.
  8. 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.

References

Community reviews

Loading reviews…