CVE-2021-41589
9.8 CRITICALIn Gradle Enterprise before 2021.3 (and Enterprise Build Cache Node before 10.0), there is potential cache poisoning and remote code exec...
Published: 2021-10-27 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 9.8 CRITICAL
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CWE
- CWE-732
Affected products
| Vendor | Product |
|---|---|
| gradle | build_cache_node, enterprise |
Description
In Gradle Enterprise before 2021.3 (and Enterprise Build Cache Node before 10.0), there is potential cache poisoning and remote code execution when running the build cache node with its default configuration. This configuration allows anonymous access to the configuration user interface and anonymous write access to the build cache. If access control to the build cache is not changed from the default open configuration, a malicious actor with network access can populate the cache with manipulated entries that may execute malicious code as part of a build process. This applies to the build cache provided with Gradle Enterprise and the separate build cache node service if used. If access control to the user interface is not changed from the default open configuration, a malicious actor can undo build cache access control in order to populate the cache with manipulated entries that may execute malicious code as part of a build process. This does not apply to the build cache provided with Gradle Enterprise, but does apply to the separate build cache node service if used.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-41589
- [Vendor advisory]https://security.gradle.com
- [Vendor advisory]https://security.gradle.com/advisory/2021-06
- [Vendor advisory]https://security.gradle.com
- [Vendor advisory]https://security.gradle.com/advisory/2021-06
Related CVEs
Same vendor
- CVE-2021-41619 — An issue was discovered in Gradle Enterprise before 2021.1.2 (7.2 HIGH)
- CVE-2021-41590 — In Gradle Enterprise through 2021.3, probing of the server-side network environment can occur via an SMTP configuration test (5.3 MEDIUM)
- CVE-2021-41588 — In Gradle Enterprise before 2021.1.3, a crafted request can trigger deserialization of arbitrary unsafe Java objects (8.1 HIGH)
- CVE-2021-41587 — In Gradle Enterprise before 2021.1.3, an attacker with the ability to perform SSRF attacks can potentially discover credentials for other... (7.5 HIGH)
- CVE-2021-41586 — In Gradle Enterprise before 2021.1.3, an attacker with the ability to perform SSRF attacks can potentially reset the system user password (7.5 HIGH)
Same CWE
- CVE-2026-53856 — OpenClaw before 2026.4.24 contains an insecure file permissions vulnerability in config recovery that restores OpenClaw.json with overly ... (5.5 MEDIUM)
- CVE-2026-0271 — A privilege escalation (PE) vulnerability in the Palo Alto Networks Prisma Access Agent app on Linux devices enables a local user to exec...
- CVE-2026-50570 — Fission is an open-source, Kubernetes-native serverless framework that simplifies the deployment of functions and applications on Kubernetes (8.5 HIGH)
- CVE-2026-26422 — clash-verge-service-ipc before 2.3.0 has a world-reachable IPC endpoint, leading to local privilege escalation (8.4 HIGH)
- CVE-2026-50590 — In Mimecast Incydr before 2.6.0, arbitrary file access can occur (4.5 MEDIUM)