Skip to main content

Suse CVE-2026-35454

| EUVDEUVD-2026-19537 HIGH
Path Traversal (CWE-22)
2026-04-04 https://github.com/coder/code-marketplace GHSA-8x9r-hvwg-c55h
8.7
CVSS 4.0 · Vendor: https://github.com/coder/code-marketplace
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious VSIX archive with path traversal sequences
  2. Exploit
    Upload VSIX to code-marketplace
  3. Execution
    ExtractZip processes raw entry names without validation
  4. Impact
    Arbitrary files written outside extension directory

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Victim must install a malicious VSIX file in coder/code-marketplace ≤ v2.4.1. The attacker crafts a ZIP archive with path traversal sequences (../) in entry names; upon extraction, arbitrary files write outside the extension directory. No authentication required; user interaction limited to installing the malicious extension.

Impact

Real-world risk is moderate to high for organizations running code-marketplace instances with user upload capabilities. Authentication is required (any upload-capable role can trigger the vulnerability), reducing the attack surface compared to unauthenticated flaws, but the technical impact is severe: arbitrary file write enables complete system compromise if the marketplace process runs with elevated privileges or has write access to sensitive directories. The vulnerability is straightforward to exploit-constructing a malicious VSIX with traversal sequences requires minimal effort, and publicly available exploit code exists. However, this is a niche product (internal VS Code marketplace infrastructure) with limited deployment footprint compared to mainstream applications. No CISA KEV listing exists, indicating no confirmed active exploitation in the wild at time of analysis. The fix is available and straightforward (upgrade to v2.4.2), making this a clear remediation priority for affected organizations but not an internet-wide emergency. SSVC assessment: exploitation status is POC; automatable (yes, trivial VSIX construction); technical impact is total (arbitrary file write). Organizations should prioritize patching based on their marketplace deployment's privilege level and accessibility to untrusted users.

Exploit ScenarioDerived

An authenticated developer with extension upload privileges crafts a malicious VSIX file containing a zip entry named '../../../../etc/cron.d/persistence' with executable cron job content. When an administrator uploads or installs this extension via the vulnerable code-marketplace instance, the ExtractZip function processes the archive and passes the unsanitized path to AddExtension. The filepath.Join call resolves the traversal sequence, writing the attacker's cron job to /etc/cron.d/persistence instead of the intended extension directory. The system cron daemon subsequently executes the malicious job at scheduled intervals, granting the attacker persistent code execution with the privileges of the cron subsystem. Publicly available exploit code exists demonstrating VSIX construction with path-traversal payloads.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 04, 2026

Path traversal in Coder code-marketplace ≤ v2.4.1 allows authenticated users to write arbitrary files outside the extension directory during VSIX extraction. The ExtractZip function passes unsanitized zip entry names containing '..' sequences to filepath.Join, which resolves parent directory references without confining output to the intended base path. Attackers can inject malicious cron jobs, SSH keys, or overwrite binaries depending on process privileges. Fixed in v2.4.2. No active exploitation confirmed (not in CISA KEV); publicly available exploit code exists.

RemediationAI

Upgrade to code-marketplace version 2.4.2 immediately, released at https://github.com/coder/code-marketplace/releases/tag/v2.4.2. The fix (commit 988440dee05fceef8400ed725badc604dbf90792 at https://github.com/coder/code-marketplace/commit/988440dee05fceef8400ed725badc604dbf90792) implements boundary checking to ensure extracted paths remain within the intended base directory after path resolution. Organizations unable to upgrade immediately should restrict VSIX upload permissions to highly trusted administrators only and review existing uploaded extensions for malicious path-traversal entries. Post-upgrade, audit filesystem locations writable by the marketplace process for unexpected files written before patching, particularly /etc/cron.d, /etc/init.d, user SSH directories, and application binary paths. No effective workaround exists beyond restricting upload access, as the vulnerability is in core extraction logic.

Affected VersionsENISA

code-marketplace < 2.4.2

Affected Packages

go github.com/coder/code-marketplace fix: 1.2.3-0.20260402184705-988440dee05f
euvd code_marketplace fix: 2.4.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a classic Zip Slip vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) in a Go-based Visual Studio Code extension marketplace implementation. The affected package (pkg:go/github.com/coder/code-marketplace) processes VSIX files, which are standard zip archives. The vulnerable code chain involves two functions: ExtractZip passes raw zip entry names (zf.Name) directly to a callback without sanitization, and AddExtension constructs filesystem paths using Go's filepath.Join with these untrusted inputs. While filepath.Join applies filepath.Clean to resolve '..' sequences lexically, it does not validate that the resulting absolute path remains within the intended base directory. For example, filepath.Join('/srv/ext/pub/1.0', '../../../../etc/cron.d/evil') correctly resolves to '/etc/cron.d/evil', escaping the intended extraction boundary. This is a common pitfall in archive extraction implementations across languages-path normalization alone does not provide confinement guarantees.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/coder/code-marketplace) PRIMARY 8.7 HIGH
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
SUSE MEDIUM

Primary rating from Vendor (https://github.com/coder/code-marketplace).

CVSS VectorVendor: https://github.com/coder/code-marketplace

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 04, 2026 - 06:30 nvd
Patch available
CVE Published
Apr 04, 2026 - 06:26 nvd
HIGH 8.7

DescriptionCVE.org

Zip Slip Path Traversal in coder/code-marketplace

Summary

A Zip Slip (CWE-22) vulnerability in coder/code-marketplace ≤ v2.4.1 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.

Root Cause

ExtractZip passed the raw, attacker-controlled zf.Name to a caller-supplied callback:

go
return false, fn(zf.Name, zr)  // zf.Name not sanitized

AddExtension constructed the output path with filepath.Join and no boundary check:

go
path := filepath.Join(dir, name)              // zip loop
path := filepath.Join(dir, file.RelativePath) // extra files loop

filepath.Clean resolved .. lexically but did not confine the result to dir:

filepath.Join("/srv/ext/pub/1.0", "../../../../etc/cron.d/evil")
  → "/etc/cron.d/evil"

Attack Scenario

An authenticated user (any upload-capable role) would submit a VSIX containing path-traversal entries.

On extraction, files would land at attacker-chosen paths writable by the marketplace process, enabling persistence (cron/init injection), SSH key injection, ld.so.preload hijacking, or binary overwrite depending on process privileges.

Fix

Addressed in https://github.com/coder/code-marketplace/releases/tag/v2.4.2

Recognition

Coder would like to thank Kandlaguduru Vamsi for responsibly disclosing this issue in accordance with https://coder.com/security/policy

Executive ViewAI

Why It Matters

Coder code-marketplace versions up to 2.4.1 contain a path traversal vulnerability that enables authenticated users to write arbitrary files outside the intended extension directory during VSIX extraction, potentially allowing deployment of malicious cron jobs, SSH keys, or system binaries. This poses a direct threat to any organization using the affected marketplace feature, as malicious or compromised extensions could compromise the integrity of developer environments and the underlying infrastructure.

Business Impact: High
Compensating Controls

Vendor-released patch: Coder code-marketplace v2.4.2. Until patching is complete, disable the VSIX extraction feature in code-marketplace or restrict marketplace access to trusted administrators only; implement file integrity monitoring on directories where extensions are extracted to detect unauthorized file writes.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy