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

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 10% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-28T16:08:07.304Z
- Modified: 2026-06-17T10:50:40.597Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- zed-industries zed: < 0.227.1
- zed zed: before 0.227.1

## References

- <https://github.com/zed-industries/zed/security/advisories/GHSA-63qj-jc2q-7hg5> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-44461](https://www.cve.org/CVERecord?id=CVE-2026-44461), CVE Terms of Use, modified 2026-05-29
- NVD: [CVE-2026-44461](https://nvd.nist.gov/vuln/detail/CVE-2026-44461), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-44461 · Whole record: https://cve.day/CVE-2026-44461.json · Rebuilt by cve.day 2026-11-25T22:59:22.955Z
