← VULNERABILITIES

DHI-27ll-xg6z-z42z-3n3p

### 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) finds running **Gradle daemons** through a registry file, which records the address of each daemon and the secret token used to connect to it. By default the registry is in the Gradle user home, and the `org.gradle.daemon.registry.base` property changes its location. This advisory is about a vulnerability in how the client reads and uses this registry. The `org.gradle.daemon.registry.base` property is honoured when it is set in a project's `gradle.properties`, so a project can make the client read a registry file that the project itself ships. The client trusts the content of that file: * it deserializes parts of the file with Java serialization; * it connects to any address listed in the file, including a remote host, although daemons only ever listen locally; * it sends its request to that address, including the client's environment variables and system properties for a build, and deserializes the replies, also with Java serialization. When the client is an IDE or another tool using the Tooling API, a crafted reply makes the client load and run code from a jar URL chosen by the attacker, w

Fixed in

8.14.7-r0 · 9.9.1-r0

Affected packages

EcosystemPackageRangeFixed
Docker Hardened Images:Alpine:3.23gradle-8>=0, <8.14.7-r08.14.7-r0
Docker Hardened Images:Alpine:3.23gradle-9>=0, <9.9.1-r09.9.1-r0

Sources

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

References

JSON