Vulnerabilities in pkg:maven/org.jetbrains.kotlin/kotlin-gradle-plugin
PACKAGECVE-2026-53914 is a MODERATE (CVSS 6.7) unsafe deserialization vulnerability (CWE-502: Deserialization of Untrusted Data) affecting JetBrains Kotlin libraries in the Maven ecosystem. The issue involves unsafe deserialization in kotlin build cache enables code execution. Remediation is available by upgrading affected packages to version 2.4.20-Beta1.
pkg:maven/org.jetbrains.kotlin/kotlin-gradle-plugin
Vulnerability advisories affecting package pkg:maven/org.jetbrains.kotlin/kotlin-gradle-plugin. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-r937-wjx7-w2jp | CVE-2026-53914 | MODERATE | JetBrains Kotlin: Unsafe Deserialization in Kotlin Build Cache Enables Code Execution |
CVE-2026-53914 at a Glance
Security Impact
CVSS: 6.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L).
How to Fix CVE-2026-53914
To remediate this vulnerability, upgrade all affected JetBrains Kotlin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-gradle-plugin</artifactId>
<version>2.4.20-Beta1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.jetbrains.kotlin
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-53914, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jetbrains.kotlin
Analyze the terminal output to locate any version of JetBrains Kotlin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.20-Beta1), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jetbrains.kotlin command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In JetBrains Kotlin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-53914 Affected JetBrains Kotlin Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jetbrains.kotlin:kotlin-gradle-plugin
|
Maven |
< 2.4.20-Beta1
|
2.4.20-Beta1
|
References
Frequently Asked Questions
What is CVE-2026-53914?
Which JetBrains Kotlin versions are affected?
What version fixes CVE-2026-53914?
Is kotlin-gradle-plugin affected?
What is the CVSS score of CVE-2026-53914?
What CWE is associated with CVE-2026-53914?
How can I check Maven dependencies for CVE-2026-53914?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r937-wjx7-w2jp",
"modified" : "2026-08-12T19:25:23Z",
"published" : "2026-06-26T15:32:13Z",
"aliases" : [ "CVE-2026-53914" ],
"summary" : "JetBrains Kotlin: Unsafe Deserialization in Kotlin Build Cache Enables Code Execution",
"details" : "In JetBrains Kotlin before 2.4.20 code execution was possible via unsafe deserialization in the build cache metadata",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jetbrains.kotlin:kotlin-gradle-plugin"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.20-Beta1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-53914"
}, {
"type" : "WEB",
"url" : "https://github.com/JetBrains/kotlin/commit/bf51df665b458fda7c3eaf436c4d88dc119d7ec6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/JetBrains/kotlin"
}, {
"type" : "WEB",
"url" : "https://github.com/JetBrains/kotlin/releases/tag/v2.4.20-Beta1"
}, {
"type" : "WEB",
"url" : "https://www.jetbrains.com/privacy-security/issues-fixed"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-12T19:25:23Z",
"nvd_published_at" : "2026-06-26T14:17:05Z"
}
}