CVE-2026-135283

kotlin: Kotlin: Arbitrary file write via path traversal during distribution archive unpacking

Published Dec 2, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
In JetBrains Kotlin before 2.5.0 path traversal was possible when unpacking the Kotlin/Native distribution

Analysis

AI-generated

Technical impact

The flaw allows a path traversal condition when a Kotlin/Native distribution archive is unpacked, enabling an attacker to write files to arbitrary locations on the host file system. This occurs because the extraction routine does not validate path components, so a malicious archive can reference directories outside the intended extraction target.

Affected Systems

JetBrains Kotlin distributions preceding version 2.5.0 are affected. Any installation that unpacks a Kotlin/Native distribution archive with those earlier releases can be vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the EPSS score of less than 1% suggests a currently low chance of exploitation. The vulnerability is not listed in CISA KEV. Exploitation requires an attacker to supply or influence a malicious distribution archive that is unpacked by a process running an affected Kotlin version. This means the attack vector is local during unpacking, but could potentially be leveraged if the unpacking routine is invoked by a privileged service or automated build system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade JetBrains Kotlin to version 2.5.0 or newer.
  • If an upgrade cannot be performed immediately, limit the extraction destination to a protected directory and enforce strict permission checks before extraction.
  • Validate distribution archives with digital signatures or checksums prior to unpacking.

Generated by OpenCVE AI on December 3, 2026 at 16:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title kotlin: Kotlin: Arbitrary file write via path traversal during distribution archive unpacking
Weaknesses CWE-22
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jetbrains
Jetbrains kotlin
Vendors & Products Jetbrains
Jetbrains kotlin
Type Values Removed Values Added
Description In JetBrains Kotlin before 2.5.0 path traversal was possible when unpacking the Kotlin/Native distribution
Weaknesses CWE-23
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-23

    Relative Path Traversal

Sources

Status
PUBLISHED
Assigner
JetBrains
Published
Updated
Dec 2, 2026, 6:21 PM
Reserved
Nov 23, 2026, 4:29 PM
Status
Awaiting Analysis
Published
Dec 2, 2026, 1:17 PM
Modified
Dec 2, 2026, 8:31 PM
Severity
Moderate
Public date
Dec 2, 2026, 12:43 PM