Skip to main content
← All vulnerabilities
CVE-2026-44461

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.227.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • zed-industries zed

    fixed in 0.227.1

References 1

GitHub · zed-industries/zed