What’s Vulnerable › Vulnerabilities

CVE-2026-27800: Zed has Zip Slip Path Traversal in Extension Archive Extraction

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

How to fix

Upgrade to a fixed version: zed-industries zed 0.224.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-27800 or the next vulnerability affects your stack