CVE-2026-27976 Zed Extension Sandbox Escape via Tar Symlink Following
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| zed | < 0.224.4 | 0.224.4 | Fixed |
| zed-industries zed | = < 0.224.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zed-industries zed | = < 0.224.4 | No fix listed |
| zed | < 0.224.4 | 0.224.4 |
References
- https://github.com/zed-industries/zed/security/advisories/GHSA-59p4-3mhm-qm3r exploit mitigation vendor-advisory