Patch Ticker
EnglishEN
Elevated

Kotlin unsafe deserialization allows code execution (KAPT classpath snapshots)

CVE-2026-135284 and 3 more

Malicious code could run inside the Kotlin developer tool.

CVE
CVE-2026-135284 and 3 more
Score
CVSS 8.1 · CVE-2026-135284
First seen
8.1
Products
Disclosed together Windows macOS Linux Kotlin

Mitigation

Update Kotlin to 2.5.0 or later.

Summary

JetBrains Kotlin before 2.5.0 can run code through unsafe deserialization of KAPT classpath snapshots, which a local attacker with high privileges can trigger. The same release also fixes three path traversal flaws.

Affected when

  • CVE-2026-135284 Kotlin Multiplatform dependency metadata in use
  • CVE-2026-135282 KAPT in use
  • CVE-2026-135283 unpacking the Kotlin/Native distribution
  • CVE-2026-135285 Kotlin/JS libraries with package names in use

Incidents by product: Kotlin

All Incidents of 2026-12-02

4 CVEs (every link below opens in a new tab)

Read the CVE record · cve.org (opens in a new tab)

Each of the 4 CVEs (every link below opens in a new tab)

  • CVE-2026-135284Kotlin Multiplatform dependency data can reach files outside the allowed path. CVSS 8.1
  • CVE-2026-135282Unsafe unpacking of KAPT classpath snapshots can let malicious code run. CVSS 6.7
  • CVE-2026-135283Unpacking the Kotlin/Native distribution can write files outside the allowed path. CVSS 5.3
Show 1 more
  • CVE-2026-135285Kotlin/JS library package names can reach files outside the allowed path. CVSS 4.2