DHI-w7o5-k2fi-2det-s26h
### Impact
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-20
- Age
- 11d 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, `daemon/<Gradle version>/registry.bin` in the Gradle user home. For each daemon, the registry records its loopback address and the secret token that authenticates clients to it. Anyone holding a token can connect to that daemon and have it run a build as the user who started it. The registry is meant to be readable by its owner only. This advisory is about a vulnerability in how the registry file is created. When the first daemon of a given Gradle version starts, Gradle creates the version directory and the registry file with the default permissions of the process, which on most Linux and macOS systems let other users read them. Gradle restricts both to the owner right afterwards, then writes the registry content. Another local user who opens the registry file within that window keeps a handle to it that remains readable after the permissions change, and reads the daemon tokens written afterwards. Since the file is rewritten in place, the same handle also reads every later update, so the attacker obtains the token of every daemon of t
Fixed in
8.14.8-r0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | gradle-8 | >=0, <8.14.8-r0 | 8.14.8-r0 |
Sources
- OSV · first seen 11d ago · CC-BY 4.0