Skip to main content

JetBrains Kotlin CVE-2026-135285

| EUVDEUVD-2026-141375 MEDIUM
Relative Path Traversal (CWE-23)
2026-12-02 JetBrains GHSA-j83h-72pq-2762
4.2
CVSS 3.1 · Vendor: JetBrains
View

Attack ChainAIDerived

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

  1. Access
    Publish malicious Kotlin/JS library
  2. Exploit
    Developer adds dependency and builds
  3. Execution
    Crafted package names trigger path traversal
  4. Impact
    Files written outside intended directory

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Exploitation Conditions

Exploitation requires a developer to add and build a project against a maliciously-crafted Kotlin/JS library whose package names contain path-traversal sequences; the attacker must get that library into the victim's dependency set and the victim must perform a build/compile (UI:R). This is a build-time supply-chain condition, not a runtime remote service flaw. Limiting factors: the AC:H rating and required developer build action, the fact that impact is confined to limited file-write (integrity) and limited availability with no confidentiality exposure, and that only Kotlin/JS library consumers (not all Kotlin users) are affected. Fixed in Kotlin 2.5.0.

Impact

This is a genuinely low-priority issue despite being network-scored. The CVSS 3.1 base score of 4.2 (Medium) is consistent with the vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L: no privileges are needed on the attacker side (PR:N), but exploitation is gated by high attack complexity (AC:H) and required user interaction (UI:R), and impact is limited to partial integrity and partial availability with no confidentiality loss (C:N/I:L/A:L). The practical attack surface is a build-time/supply-chain path: a developer must consume and build against a malicious Kotlin/JS library. No EPSS score was supplied in the input, so exploitation probability cannot be quantified here. The vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing, and no public exploit was identified in the provided sources - all three signals align toward routine, scheduled patching rather than urgent response. The AV:N rating reflects that the malicious library is delivered over a network/dependency channel, but the actual trigger is local build/compilation of attacker-supplied code, so defenders should read this as a dependency-hygiene concern, not a remotely reachable service flaw.

Exploit ScenarioDerived

An attacker publishes or compromises a Kotlin/JS library and embeds path-traversal sequences in its package names. When a developer adds that library as a dependency and builds their project, the crafted package names cause files to be written outside the intended output directory, potentially overwriting build artifacts or other files. No public exploit code was identified in the provided sources, and the high attack complexity plus required developer build action limit real-world exploitation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Path traversal in JetBrains Kotlin before 2.5.0 allows a maliciously crafted Kotlin/JS library to escape the intended output location during a build, because package names are not sanitized before being used in file paths. Only consumers of Kotlin/JS libraries are affected, and exploitation requires the developer to pull the tainted dependency into a project and run a build (UI:R), which keeps the realistic risk low despite the network-oriented CVSS vector. Impact is limited to file-write integrity and limited availability (C:N/I:L/A:L) with a CVSS 3.1 base score of 4.2; no public exploit code has been identified at time of analysis and the issue is not in CISA KEV.

RemediationAI

Upgrade to JetBrains Kotlin 2.5.0, which the vendor lists as the fixed version, and rebuild any project that resolves Kotlin/JS library dependencies so the patched toolchain handles package names. The supplied advisory reference (https://www.jetbrains.com/privacy-security/issues-fixed/) is the authoritative source for the fix and should be checked for any product-specific notes. The available data documents no vendor-provided workaround for staying on an earlier release; the only documented complete fix is updating the toolchain, so treat the upgrade as the remediation rather than relying on configuration changes. Because the trigger is a malicious dependency, reviewing the provenance of third-party Kotlin/JS dependencies in the build is a reasonable supplementary practice, though the sources do not present it as an official mitigation.

Affected VersionsENISA

Kotlin 0 <2.5.0

Affected Packages

euvd kotlin fix: 2.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The flaw is a relative path traversal (CWE-23) in the Kotlin/JS toolchain's handling of library package names. Kotlin/JS projects resolve dependencies through the Kotlin/JS and Kotlin Multiplatform ecosystem, and package identifiers are used to derive locations for generated or extracted artifacts on the build machine; if those identifiers are not normalized and constrained, traversal sequences embedded in a package name can resolve outside the expected directory. The affected CPE (cpe:2.3:a:jetbrains:kotlin:*:*:*:*:*:*:*:*) covers all Kotlin releases prior to 2.5.0, but only the Kotlin/JS dependency-consumption path is implicated - other Kotlin targets and plain Kotlin/JVM usage are not described as affected. The precise code path that translates a package name into a filesystem location, and the exact artifacts written, are not described in the available sources; the CVSS vector's AC:H and UI:R reflect a condition that is difficult to arrange and requires a developer-initiated build rather than a runtime service exposure.

Know when Kotlin gets its next vulnerability

  • 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 (JetBrains) PRIMARY 4.2 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
vuln.today AI 4.2 MEDIUM

Malicious library delivered over dependency channel (AV:N) but triggered only when a developer builds it (UI:R, AC:H); impact limited to file write (I:L) and availability (A:L), no confidentiality (C:N).

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (JetBrains).

CVSS VectorVendor: JetBrains

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch available
Dec 02, 2026 - 14:18 EUVD
CVE Published
Dec 02, 2026 - 12:43 cve.org
MEDIUM 4.2

DescriptionCVE.org

In JetBrains Kotlin before 2.5.0 path traversal was possible via package names of Kotlin/JS libraries

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
High
Kotlin is a widely-deployed JVM/JS developer toolchain, though Kotlin/JS usage is narrower
Data Quality
4 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

21
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +21
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.

More in Kotlin

View all
CVE-2019-10101 HIGH POC
8.1 Jul 03

JetBrains Kotlin versions before 1.3.30 were resolving artifacts using an http connection during the build process, pote

CVE-2023-26154 MEDIUM POC
5.9 Dec 06

Versions of the package pubnub before 7.4.0; all versions of the package com.pubnub:pubnub; versions of the package pubn

CVE-2020-15824 HIGH
8.8 Aug 08

In JetBrains Kotlin from 1.4-M1 to 1.4-RC (as Kotlin 1.3.7x is not affected by the issue. Rated high severity (CVSS 8.8)

CVE-2026-100725 HIGH
8.3 Sep 27

Cookie scoping bypass in the http4k client-side cookie jar (Maven org.http4k:http4k-core) causes cookies stored by Basic

CVE-2026-100834 HIGH
8.2 Sep 27

Replay of captured Digest authentication credentials is possible in the http4k http4k-security-digest module (org.http4k

CVE-2026-120317 HIGH
8.2 Nov 02

http4k's Digest authentication advertises the RFC 7616 auth-int quality-of-protection but never binds the request entity

CVE-2026-135284 HIGH
8.1 Dec 02

Path traversal (CWE-23) in JetBrains Kotlin before 2.5.0 is reachable through Kotlin Multiplatform dependency metadata,

CVE-2019-10103 HIGH
8.1 Jul 03

JetBrains IntelliJ IDEA projects created using the Kotlin (JS Client/JVM Server) IDE Template were resolving Gradle arti

CVE-2019-10102 HIGH
8.1 Jul 03

JetBrains Ktor framework (created using the Kotlin IDE template) versions before 1.1.0 were resolving artifacts using an

CVE-2026-53914 CRITICAL
9.8 Jun 26

Remote code execution in JetBrains Kotlin before 2.4.20 stems from unsafe deserialization (CWE-502) of build cache metad

CVE-2026-135282 MEDIUM
6.7 Dec 02

Code execution during Kotlin builds that use KAPT (the Kotlin Annotation Processing Tool) affects JetBrains Kotlin versi

CVE-2026-101099 MEDIUM
5.3 Sep 28

Unbounded buffering in the Server-Sent Events parser of the AG-UI Community SDK (Kotlin/Java) lets a malicious or man-in

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