← VULNERABILITIES

DHI-7c6o-oqcs-iw4l-t2bl

### 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) looks up running **Gradle daemons** in a registry file under the Gradle user home, then connects to an idle daemon over a loopback TCP connection and sends it the build to run. The client authenticates itself to the daemon with a secret token, but the daemon is not authenticated to the client, and the client does not check that the daemon process recorded in the registry is still running. This advisory is about a vulnerability on this communication channel. When a daemon terminates without removing itself from the registry, for example when it is killed with `kill -9`, stopped by the out-of-memory killer or crashes, its loopback port becomes free while the registry still points to it. Another local user who binds that port receives the next build request from the victim's client. That request contains the client's environment variables, system properties and standard input, which commonly hold credentials and CI tokens. The attacker can then answer with crafted messages that the client deserializes: * in an IDE or any other Tooling API client, a crafted reply makes the client process load an

Fixed in

9.9.1-r0

Affected packages

EcosystemPackageRangeFixed
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