CVE-2026-44461
CVE-2026-44461
8.6
HighPublished:
Last updated:
Source:security-advisories@github.com
Analyzed
Weakness (CWE)
CVSS Vector
v3.1- Attack Vector
- Local
- Attack Complexity
- Low
- Privileges Required
- None
- User Interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
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.
References
security-advisories@github.com
https://github.com/zed-industries/zed/security/advisories/GHSA-63qj-jc2q-7hg5134c704f-9b21-4f2e-91b3-4a467353bcc0
https://github.com/zed-industries/zed/security/advisories/GHSA-63qj-jc2q-7hg5