CVE-2026-35454
Received Received - Intake
Zip Slip Vulnerability in Code Extension Marketplace Allows Arbitrary File Write

Publication date: 2026-04-06

Last updated on: 2026-04-28

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-06
Last Modified
2026-04-28
Generated
2026-05-07
AI Q&A
2026-04-07
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
coder code-marketplace to 2.4.1 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability, known as a Zip Slip, exists in the Code Extension Marketplace before version 2.4.2. It allows a malicious VSIX file to write arbitrary files outside the intended extension directory. The issue arises because the ExtractZip function passes raw zip entry names to a callback that writes files using filepath.Join without checking boundaries. Although filepath.Join resolves '..' components, it does not prevent the resulting path from escaping the base directory, enabling potential directory traversal and unauthorized file writes.


How can this vulnerability impact me? :

This vulnerability can allow an attacker to write files anywhere on the file system where the application has write permissions. This could lead to overwriting critical files, injecting malicious code, or compromising the integrity and security of the system running the Code Extension Marketplace.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should upgrade the Code Extension Marketplace to version 2.4.2 or later, where the Zip Slip vulnerability has been fixed.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart