Arbitrary Code Execution Vulnerability in Zed IDE by Zed Industries
CVE-2025-68432
7.8HIGH
What is CVE-2025-68432?
The Zed IDE, a popular code editor, contains a vulnerability that allows for arbitrary code execution through manipulated Language Server Protocol (LSP) configurations. If a user unwittingly opens a project containing a malicious settings.json file located in the project's .zed subdirectory, an attacker could execute arbitrary shell commands with the user's privileges. The vulnerability is triggered when the IDE loads these configurations upon opening the project file. To mitigate this risk, version 0.218.2-pre introduces a worktree trust mechanism, while users are advised to thoroughly examine the contents of any project settings file before opening projects in Zed.
Affected Version(s)
zed < 0.218.2-pre
