CVE-2025-68432CWE-77command-injection

CVE-2025-68432

High · published December 18, 2025

CVSS v3.1
7.7
EPSS
0%
Percentile
19.8
In the wild
Unconfirmed
What it is

⚡ Zed users, beware! A sneaky exploit in your code editor means that opening a project could run malicious commands on your machine! Think of it like a chef receiving a recipe that mixes ingredients without checking the source; one wrong entry could lead to a disaster in the kitchen. In this case, the settings.json file is your recipe, and a malicious entry can cook up trouble on your system! An attacker could craft a project settings file that executes arbitrary commands with the same privileges as the user running Zed. This means they might access sensitive data, modify files, or even compromise your entire system if you open a tainted project without reviewing the configurations first!

Put simply

Think of it like a chef receiving a recipe that mixes ingredients without checking the source; one wrong entry could lead to a disaster in the kitchen. In this case, the settings.json file is your recipe, and a malicious entry can cook up trouble on your system! This vulnerability arises from the way Zed loads Language Server Protocol (LSP) configurations from the `settings.json` file in a project’s `.zed` subdirectory, allowing for arbitrary code execution if such configurations contain malicious code.

What to do

An attacker could craft a project settings file that executes arbitrary commands with the same privileges as the user running Zed. This means they might access sensitive data, modify files, or even compromise your entire system if you open a tainted project without reviewing the configurations first! Upgrade to version 0.218.2-pre immediately to secure your environment! Until then, be vigilant—always review the contents of project settings files (`./zed/settings.json`) before opening new projects. Your caution can save you from a world of hurt. You've got this! Stay informed and vigilant, and you'll keep your coding environment safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00284 · 19.8th percentile
Weakness
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
Published
2025-12-18T04:16Z
Affected products (1)
ProductVersionsFixed in
zed/zed< 0.218.20.218.2
References (2)
EPSS history
Timeline
  • 17 DEC 22:45Z
    Zed IDE LSP Binary Configuration Arbitrary Code Execution
    cvelistv5