Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious Kotlin/JS library
-
ExploitDeveloper adds dependency and builds
-
ExecutionCrafted package names trigger path traversal
-
ImpactFiles 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
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).
Primary rating from Vendor (JetBrains).
CVSS VectorVendor: JetBrains
Lifecycle Timeline
2DescriptionCVE.org
In JetBrains Kotlin before 2.5.0 path traversal was possible via package names of Kotlin/JS libraries
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
JetBrains Kotlin versions before 1.3.30 were resolving artifacts using an http connection during the build process, pote
Versions of the package pubnub before 7.4.0; all versions of the package com.pubnub:pubnub; versions of the package pubn
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)
Cookie scoping bypass in the http4k client-side cookie jar (Maven org.http4k:http4k-core) causes cookies stored by Basic
Replay of captured Digest authentication credentials is possible in the http4k http4k-security-digest module (org.http4k
http4k's Digest authentication advertises the RFC 7616 auth-int quality-of-protection but never binds the request entity
Path traversal (CWE-23) in JetBrains Kotlin before 2.5.0 is reachable through Kotlin Multiplatform dependency metadata,
JetBrains IntelliJ IDEA projects created using the Kotlin (JS Client/JVM Server) IDE Template were resolving Gradle arti
JetBrains Ktor framework (created using the Kotlin IDE template) versions before 1.1.0 were resolving artifacts using an
Remote code execution in JetBrains Kotlin before 2.4.20 stems from unsafe deserialization (CWE-502) of build cache metad
Code execution during Kotlin builds that use KAPT (the Kotlin Annotation Processing Tool) affects JetBrains Kotlin versi
Unbounded buffering in the Server-Sent Events parser of the AG-UI Community SDK (Kotlin/Java) lets a malicious or man-in
EUVD-2026-141375
GHSA-j83h-72pq-2762
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB