CVE-2020-15777Gradle Maven
High 7.8
Follow: this CVE · Gradle · Gradle Maven We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- Yes
- Published
- Aug 25, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in the Maven Extension plugin before 1.6 for Gradle Enterprise. The extension uses a socket connection to send serialized Java objects. Deserialization is not restricted to an allow-list, thus allowing an attacker to achieve code execution via a malicious deserialization gadget chain. The socket is not bound exclusively to localhost. The port this socket is assigned to is randomly selected and is not intentionally exposed to the public (either by design or documentation). This could potentially be used to achieve remote code execution and local privilege escalation.
What to do
- Apply the vendor's security update for Maven.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.gradle:gradle-enterprise-maven-extension |
< 1.6 |
1.6 |
— |
Per OSV / GitHub Advisories (GHSA-vp55-fhxx-vcx8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gradle | maven | < 1.6 |
Official sources
References
Links published by the sources. Open them with care.
- docs.gradle.com Release Notes Vendor Advisory
- security.gradle.com Vendor Advisory