CVE-2026-35454: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in coder code-marketplace
CVE-2026-35454 is a path traversal vulnerability in coder/code-marketplace versions prior to 2. 4. 2. A malicious VSIX file could exploit a Zip Slip flaw to write arbitrary files outside the intended extension directory. This occurs because the extraction function did not properly restrict file paths, allowing directory traversal via '.. ' components. The vulnerability has a high severity with a CVSS score of 8. 7. A fix was introduced in version 2. 4.
AI Analysis
Technical Summary
The Code Extension Marketplace (coder/code-marketplace) before version 2.4.2 contains a Zip Slip vulnerability (CWE-22) in its ExtractZip function. This function passed raw zip entry names to a callback that wrote files using filepath.Join without enforcing boundary checks. Although filepath.Join resolves '..' components, it does not prevent the resulting path from escaping the base directory, enabling an attacker to write files outside the intended extension directory. This vulnerability allows arbitrary file write via a crafted VSIX archive. The issue is fixed in version 2.4.2.
Potential Impact
Exploitation of this vulnerability allows an unauthenticated attacker to write arbitrary files outside the extension directory by crafting a malicious VSIX file. This can lead to unauthorized file modification or creation on the host system, potentially enabling further compromise depending on the environment and file targets. The CVSS 4.0 score of 8.7 reflects high severity due to network attack vector, no required privileges or user interaction, and high impact on integrity.
Mitigation Recommendations
This vulnerability is fixed in coder/code-marketplace version 2.4.2. Users and administrators should upgrade to version 2.4.2 or later to remediate this issue. Patch status is not explicitly confirmed in the vendor advisory content provided, but the description states the vulnerability is fixed in 2.4.2. No additional mitigation steps are indicated.
CVE-2026-35454: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in coder code-marketplace
Description
CVE-2026-35454 is a path traversal vulnerability in coder/code-marketplace versions prior to 2. 4. 2. A malicious VSIX file could exploit a Zip Slip flaw to write arbitrary files outside the intended extension directory. This occurs because the extraction function did not properly restrict file paths, allowing directory traversal via '.. ' components. The vulnerability has a high severity with a CVSS score of 8. 7. A fix was introduced in version 2. 4.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Code Extension Marketplace (coder/code-marketplace) before version 2.4.2 contains a Zip Slip vulnerability (CWE-22) in its ExtractZip function. This function passed raw zip entry names to a callback that wrote files using filepath.Join without enforcing boundary checks. Although filepath.Join resolves '..' components, it does not prevent the resulting path from escaping the base directory, enabling an attacker to write files outside the intended extension directory. This vulnerability allows arbitrary file write via a crafted VSIX archive. The issue is fixed in version 2.4.2.
Potential Impact
Exploitation of this vulnerability allows an unauthenticated attacker to write arbitrary files outside the extension directory by crafting a malicious VSIX file. This can lead to unauthorized file modification or creation on the host system, potentially enabling further compromise depending on the environment and file targets. The CVSS 4.0 score of 8.7 reflects high severity due to network attack vector, no required privileges or user interaction, and high impact on integrity.
Mitigation Recommendations
This vulnerability is fixed in coder/code-marketplace version 2.4.2. Users and administrators should upgrade to version 2.4.2 or later to remediate this issue. Patch status is not explicitly confirmed in the vendor advisory content provided, but the description states the vulnerability is fixed in 2.4.2. No additional mitigation steps are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-02T19:25:52.193Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d42d0d0a160ebd92e15bd7
Added to database: 4/6/2026, 10:00:45 PM
Last enriched: 4/6/2026, 10:15:32 PM
Last updated: 4/7/2026, 12:08:46 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.