# CVE-2026-27976: Zed Extension Sandbox Escape via Tar Symlink Following

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-25T23:34:40.103Z
- Modified: 2026-06-17T10:28:00.213Z
- Weaknesses: CWE-61
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- zed-industries zed: < 0.224.4
- zed zed: before 0.224.4

## References

- <https://github.com/zed-industries/zed/security/advisories/GHSA-59p4-3mhm-qm3r> (exploit, mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-27976](https://www.cve.org/CVERecord?id=CVE-2026-27976), CVE Terms of Use, modified 2026-02-27
- NVD: [CVE-2026-27976](https://nvd.nist.gov/vuln/detail/CVE-2026-27976), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27976 · Whole record: https://cve.day/CVE-2026-27976.json · Rebuilt by cve.day 2026-11-25T22:59:14.923Z
