CVE-2026-35454 Code Extension Marketplace has a Zip Slip Path Traversal
A malicious VSIX file can write arbitrary files outside the extension directory via Zip Slip, 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
- Not needed
- Fix
- Available
What is CVE-2026-35454?
CVE-2026-35454 is a high-severity path traversal vulnerability in coder code-marketplace, published on 6 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Code Extension Marketplace is an open-source alternative to the VS Code Marketplace. Prior to 2.4.2, Zip Slip vulnerability in coder/code-marketplace allowed a malicious VSIX file to write arbitrary files outside the extension directory. ExtractZip passed raw zip entry names to a callback that wrote files via filepath.Join with no boundary check; filepath.Join resolved .. components but did not prevent the result from escaping the base path. This vulnerability is fixed in 2.4.2.
Weakness: CWE-22
Which versions are affected by CVE-2026-35454?
3 open source packages ship an affected version, including github.com/coder/code-marketplace. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/coder/code-marketplace Go | All versions | 1.2.3-0.20260402184705-988440dee05f |
github.com/coder/code-marketplace Go | All versions | 1.2.3-0.20260402184705-988440dee05f |
github.com/coder/code-marketplace Go | All versions | 1.2.3-0.20260402184705-988440dee05f |
Products include Coder Code-Marketplace.
How do I fix CVE-2026-35454?
Upgrade github.com/coder/code-marketplace to 1.2.3-0.20260402184705-988440dee05f or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-35454 being exploited?
There is no known exploitation of CVE-2026-35454 in the wild and no public exploit code.
Sources
Also known as GHSA-8x9r-hvwg-c55h, GO-2026-5270.