Vulnerability details

CVE-2026-44461

zed-industries zed

Zed: Remote Command Injection via Unquoted Environment Variable Keys (SSH / WSL Remote)

CVSS 3.1
8.6High

Official 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.

CVSS scores

ScoreVersionSourceVector
8.6High 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
zed-industries zed < 0.227.1 CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-05-28
Last updated
2026-05-29
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.25%
Probability of exploitation in 30 days
17.4%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
Proof of concept
Technical impact
Total

Weaknesses (CWE)

  • CWE-78
    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')