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.
Exploitability Profile
None Observed
No active abuse flagged
Available
0 PoC signals · 1 repo
Confirmed
1 patch mentions · 0 advisories
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Verify version impact across your CPE inventory and schedule remediation within the next planned patch window.
| Authority |
|---|
Triage Priority
CVSS v3.1
Source: GitHub
Stable
Peak 1 on May 29, 2026
1mention
Across 1 tracked day
| Version |
|---|
| Score |
|---|
| Vector String |
|---|
CNAGitHub | v3.1 | 8.6HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
1 total mentions across 1 observed day · Peak 1 on May 29, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.
Normalized NVD configurations scoped by vendor, product, version, and platform.