CVEvulnerability

CVE-2026-27976

8.8 HIGH Published 2026-02-26 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2026-02-26
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-61

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.

Affected configurations

• zed zed (< 0.224.4)

Related

Weakness · CWE (1)

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

References