Zed: Remote Command Injection via Unquoted Environment Variable Keys (SSH / WSL Remote)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| zed-industries | zed | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Zed-industries | Zed |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.257% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Zed
Zed zed |
|
| CPEs | cpe:2.3:a:zed:zed:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Zed
Zed zed |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Zed-industries
Zed-industries zed |
|
| Vendors & Products |
Zed-industries
Zed-industries zed |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Zed: Remote Command Injection via Unquoted Environment Variable Keys (SSH / WSL Remote) | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV3_1
|