← VULNERABILITIES

DHI-mhex-k6d4-bdq5-wpqc

### Impact

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-20
Age
14d old
Modified
2026-11-28
Product
Docker Hardened Images:Alpine:3.23 gradle-8

Description

### Impact A **Gradle client** (the `gradle`/`gradlew` CLI or an IDE using the Tooling API) connects to a long-lived **Gradle daemon** over a loopback TCP connection to send build commands. The daemon listens on this port for its entire lifetime. Most commands on that channel are typed and use a custom serializer but messages can request to use Java serialization. The daemon authenticates client commands with a secret token, but it deserializes the incoming message before it verifies that token. This advisory is about a vulnerability on this communication channel. An attacker who can place bytes on this channel can cause the daemon to deserialize a hostile object graph which can lead to remote code execution in the daemon JVM or a denial of service (a crash or resource exhaustion from a malformed or deeply nested graph). This has been demonstrated with a proof-of-concept. Code execution in the daemon runs with the privileges of the user running the build and exposes in-memory and on-disk secrets available to it. This advisory does not publish the proof-of-concept. Builds running on **shared / multi-user build hosts** are the most at risk. The vulnerability requires a Gradle daemon

Fixed in

9.8.1-r0

Affected packages

EcosystemPackageRangeFixed
Docker Hardened Images:Alpine:3.23gradle-9>=0, <9.8.1-r09.8.1-r0

Sources

  • OSV · first seen 14d ago · CC-BY 4.0

References

JSON