Zed Extension Sandbox Escape via Tar Symlink Following
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
Zed, a code editor, has an extension installer allows tar/gzip downloads. Prior to version 0.224.4, the tar extractor (`async_tar::Archive::unpack`) creates symlinks from the archive without validation, and the path guard (`writeable_path_from_extension`) only performs lexical prefix checks without resolving symlinks. An attacker can ship a tar that first creates a symlink inside the extension workdir pointing outside (e.g., `escape -> /`), then writes files through the symlink, causing writes to arbitrary host paths. This escapes the extension sandbox and enables code execution. Version 0.224.4 patches the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| zed-industries | zed | before 0.224.4 | 0.224.4 | Patch available | CNA |
- zed Vendorzed-industries Affected before 0.224.4 Fixed in 0.224.4 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:zed:zed:*:*:*:*:*:*:*:* | before 0.224.4 | Vulnerable | zed-industries |
- cpe:2.3:a:zed:zed:*:*:*:*:*:*:*:* Versions before 0.224.4 Vulnerable ·zed-industries
Remediation
- Fix · CNA zed (zed-industries) Fixed in 0.224.4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-27976
More zed-industries Zed vulnerabilities
- TI-2026-32402 Zed: Allowlist Bypass via Bash Variable Expansion Chain in Terminal Tool Permissions CVSS 3.1HIGH 8.8
- TI-2026-32405 Zed: Allowlist Bypass via Bash Arithmetic Expansion in Terminal Tool Permissions CVSS 3.1HIGH 8.6
- TI-2026-32404 Zed: Zed IDE Arbitrary Code Execution via untrusted repository with poisoned .git/config CVSS 3.1HIGH 8.6
- TI-2026-32403 Zed: Allowlist Bypass via Environment Variable Injection in Terminal Tool Permissions CVSS 3.1HIGH 8.6
- TI-2026-32401 Zed: Remote Command Injection via Unquoted Environment Variable Keys (SSH / WSL Remote) CVSS 3.1HIGH 8.6
- TI-2026-20868 Zed does not show Parameter Values for MCP Tool Calls. Users cannot detect tool poisoning. CVSS 3.1HIGH 8.0
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences