Read the docs
TI-2026-32401 Aliases CVE-2026-44461

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

Priority HIGH 72CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00257 17th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed zed (zed-industries): 0.227.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
zed-industrieszedbefore 0.227.10.227.1Patch availableCNA
  • zed Vendorzed-industries Affected before 0.227.1 Fixed in 0.227.1 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:zed:zed:*:*:*:*:*:*:*:*before 0.227.1Vulnerablezed-industries
  • cpe:2.3:a:zed:zed:*:*:*:*:*:*:*:* Versions before 0.227.1 Vulnerable ·zed-industries

Remediation

  • Fix · CNA zed (zed-industries) Fixed in 0.227.1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-44461

References

  • TI-2026-32402 Zed: Allowlist Bypass via Bash Variable Expansion Chain in Terminal Tool Permissions CVSS 3.1HIGH 8.8
  • TI-2026-22318 Zed Extension Sandbox Escape via Tar Symlink Following CVSS 3.1HIGH 8.8
  • TI-2026-32405 Zed: Allowlist Bypass via Bash Arithmetic Expansion in Terminal Tool Permissions CVSS 3.1HIGH 8.6
  • TI-2026-32404 Zed: Zed IDE Arbitrary Code Execution via untrusted repository with poisoned .git/config CVSS 3.1HIGH 8.6
  • TI-2026-32403 Zed: Allowlist Bypass via Environment Variable Injection in Terminal Tool Permissions CVSS 3.1HIGH 8.6
  • TI-2026-20868 Zed does not show Parameter Values for MCP Tool Calls. Users cannot detect tool poisoning. CVSS 3.1HIGH 8.0
See all 10 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences