Relative Path Traversal in Kotlin - CVE-2026-135285

 

Relative Path Traversal in Kotlin - CVE-2026-135285

Published: December 3, 2026


Vulnerability identifier: #VU172970
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-135285
CWE-ID: CWE-23
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to potentially access files outside the intended directory.

The vulnerability exists due to relative path traversal in Kotlin/JS library processing when resolving paths from package names. A remote attacker can supply a crafted package name to cause a path to resolve outside the intended directory.


Affected software

Kotlin

How to mitigate CVE-2026-135285

Install security update from vendor's website.

Kotlin - update to 2.5.0

External References

Related Security Bulletins