Skip to content

CVE-2026-44461 Zed: Remote Command Injection via Unquoted Environment Variable Keys (SSH / WSL Remote)

HighCVSS 8.6 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

Zed is a code editor. Prior to 0.227.1, Zed builds SSH/WSL remote commands as a shell command string that starts with exec env ..., but environment variable keys are inserted without shell quoting or validation. If an attacker can control an environment variable key (for example via project terminal settings), shell expansions in the key (such as $(...)) are evaluated by the remote shell when a terminal is opened. This can lead to arbitrary command execution on the remote host under the victim user's account. This vulnerability is fixed in 0.227.1.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
zed < 0.227.1 0.227.1 Fixed
zed-industries zed = < 0.227.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
zed-industries zed = < 0.227.1 No fix listed
zed < 0.227.1 0.227.1

References