The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35454

CVE-2026-35454: Code Marketplace Path Traversal Flaw

CVE-2026-35454 is a path traversal vulnerability in Code Extension Marketplace that allows malicious VSIX files to write arbitrary files outside intended directories. This article covers technical details, affected versions, and mitigations.

Published: April 10, 2026

CVE-2026-35454 Overview

CVE-2026-35454 is a Path Traversal (Zip Slip) vulnerability affecting the Code Extension Marketplace, an open-source alternative to the VS Code Marketplace. Prior to version 2.4.2, a malicious VSIX file could exploit improper path validation in the ExtractZip function to write arbitrary files outside the intended extension directory. The vulnerability stems from the function passing raw zip entry names to a callback that wrote files via filepath.Join without proper boundary checking. While filepath.Join resolved .. components, it failed to prevent the resulting path from escaping the base directory.

Critical Impact

Attackers can craft malicious VSIX extension packages to write files to arbitrary locations on the server, potentially leading to remote code execution, configuration tampering, or system compromise.

Affected Products

  • Code Extension Marketplace versions prior to 2.4.2
  • coder/code-marketplace (GitHub repository)
  • Self-hosted VS Code Marketplace alternatives using vulnerable versions

Discovery Timeline

  • 2026-04-06 - CVE-2026-35454 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-35454

Vulnerability Analysis

This vulnerability belongs to the CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) category, commonly known as "Zip Slip." The Code Extension Marketplace processes VSIX files, which are essentially ZIP archives containing VS Code extensions. During the extraction process, the ExtractZip function failed to properly validate that extracted file paths remained within the designated extension directory.

The core issue lies in how the extraction callback handled file paths. When processing entries from a ZIP archive, the function used filepath.Join to construct the destination path by combining the base extraction directory with the entry name from the ZIP file. Although filepath.Join normalizes paths and resolves .. (parent directory) components, it does not inherently prevent directory traversal when the resulting path escapes the intended base directory.

An attacker could craft a malicious VSIX file containing entries with paths like ../../../etc/cron.d/malicious or ../../../.ssh/authorized_keys. When extracted, these would resolve to locations outside the extension directory, allowing arbitrary file writes anywhere the application has write permissions.

Root Cause

The root cause is insufficient path validation in the ExtractZip function. The function trusted the file paths embedded within ZIP archives without verifying that the final resolved path remained within the expected extraction directory. While filepath.Join handles path normalization, additional validation is required to ensure the resulting absolute path is a child of the intended base directory. This typically requires comparing the resolved path prefix against the canonical base path after joining.

Attack Vector

This vulnerability is exploitable over the network. An attacker can upload or provide a malicious VSIX extension package to a vulnerable Code Extension Marketplace instance. The attack does not require authentication and involves no user interaction beyond the marketplace processing the malicious package.

The attack flow involves crafting a VSIX file with specially constructed entry names containing directory traversal sequences. When the marketplace attempts to extract and install the extension, the malicious paths are processed, resulting in files being written to attacker-controlled locations on the filesystem. Depending on the deployment environment and file permissions, this could enable remote code execution through web shell uploads, cron job manipulation, SSH key injection, or overwriting critical configuration files.

Detection Methods for CVE-2026-35454

Indicators of Compromise

  • Unexpected files appearing outside the extension storage directory
  • VSIX files containing entries with .. path components in archive listings
  • File system audit logs showing writes to sensitive directories during extension installation
  • Anomalous file creation timestamps in system directories coinciding with extension uploads

Detection Strategies

  • Implement file integrity monitoring on critical system directories and configuration files
  • Analyze ZIP/VSIX file contents before extraction to detect path traversal patterns
  • Monitor application logs for extraction errors or unusual file paths during extension processing
  • Deploy endpoint detection rules to alert on filepath.Join operations resulting in paths outside expected directories

Monitoring Recommendations

  • Enable audit logging for the extension installation directory and parent directories
  • Configure alerts for any file writes outside the designated extension storage path
  • Review uploaded VSIX packages for suspicious entry names using static analysis tools
  • Implement real-time monitoring of the Code Extension Marketplace service for exploitation attempts

How to Mitigate CVE-2026-35454

Immediate Actions Required

  • Upgrade Code Extension Marketplace to version 2.4.2 or later immediately
  • Audit recently installed extensions for signs of compromise or malicious file writes
  • Review file system integrity for unexpected modifications in sensitive directories
  • Consider temporarily disabling extension uploads until the patch is applied

Patch Information

The vulnerability is fixed in Code Extension Marketplace version 2.4.2. The patch implements proper path validation to ensure extracted files cannot escape the designated extension directory. Organizations should update to this version as soon as possible.

For detailed information about the fix, refer to the GitHub Release v2.4.2 and the GitHub Security Advisory GHSA-8x9r-hvwg-c55h.

Workarounds

  • Restrict VSIX upload capabilities to trusted administrators only until patching is complete
  • Implement input validation at the network layer to reject VSIX files with suspicious path patterns
  • Run the Code Extension Marketplace service with minimal filesystem permissions to limit write access
  • Deploy the application in a containerized environment with read-only mounts for sensitive directories
bash
# Configuration example
# Verify your Code Extension Marketplace version
code-marketplace --version

# Upgrade to patched version 2.4.2
# Follow your deployment method - example using Go install:
go install github.com/coder/code-marketplace@v2.4.2

# Audit extension directory for unexpected files
find /path/to/extensions -name "*.." -o -path "*/../*"

# Check for files written outside expected directories
ls -la /path/to/extensions/../

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechCoder

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Release v2.4.2

  • GitHub Security Advisory GHSA-8x9r-hvwg-c55h
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English