Skip to content
OpenAdvisories
High · 7.4 CVE-2026-27800 EUVD-2026-8773

Zed has Zip Slip Path Traversal in Extension Archive Extraction

Published Feb 25, 2026 · Updated Feb 26, 2026 · Assigned by GitHub_M

Description

Zed, a code editor, has a Zip Slip (Path Traversal) vulnerability exists in its extension archive extraction functionality prior to version 0.224.4. The `extract_zip()` function in `crates/util/src/archive.rs` fails to validate ZIP entry filenames for path traversal sequences (e.g., `../`). This allows a malicious extension to write files outside its designated sandbox directory by downloading and extracting a crafted ZIP archive. Version 0.224.4 fixes the issue.

Affected products

VendorProductAffectedFixed
zed-industries zed < 0.224.4 —

References