CVE-2026-27800 Zed has Zip Slip Path Traversal in Extension Archive Extraction
A malicious extension can write files outside its sandbox via path traversal in ZIP extraction, potentially leading to code execution or data modification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-27800?
CVE-2026-27800 is a high-severity path traversal vulnerability in zed-industries zed, published on 25 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-27800?
It affects 1 product.
Products include Zed Zed.
How do I fix CVE-2026-27800?
No fix has been published for CVE-2026-27800 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-27800 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27800 exists.
Other vulnerabilities in zed-industries zed
- CVE-2026-27976 Zed Extension Sandbox Escape via Tar Symlink Following
- CVE-2026-44461 Zed: Remote Command Injection via Unquoted Environment Variable Keys (SSH / WSL Remote)
- CVE-2026-44463 Zed: Allowlist Bypass via Environment Variable Injection in Terminal Tool Permissions
- CVE-2026-44465 Zed: Zed IDE Arbitrary Code Execution via untrusted repository with poisoned .git/config
- CVE-2026-44466 Zed: Allowlist Bypass via Bash Arithmetic Expansion in Terminal Tool Permissions
Sources
Also known as GHSA-v385-xh3h-rrfr.