CVE-2026-27976 PUBLISHED

Zed Extension Sandbox Escape via Tar Symlink Following

Assigner: GitHub_M
Reserved: 25.02.2026 Published: 25.02.2026 Updated: 25.02.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS Score: 8.8

Product Status

Vendor zed-industries
Product zed
Versions
  • Version < 0.224.4 is affected

References

Problem Types

  • CWE-61: UNIX Symbolic Link (Symlink) Following CWE