# CVE-2021-41589: In Gradle Enterprise before 2021.3 (and Enterprise Build Cache Node before 10.0), there is potential cache poisoning and remote code execut…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.38%, higher than 84% of CVEs (2026-12-02)
- Published: 2021-10-27T13:31:01.000Z
- Modified: 2026-06-17T04:08:41.760Z
- Weaknesses: CWE-732
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gradle build_cache_node: before 10.0
- gradle enterprise: before 2021.3

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://security.gradle.com> (vendor-advisory)
- <https://security.gradle.com/advisory/2021-06> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-41589](https://www.cve.org/CVERecord?id=CVE-2021-41589), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-41589](https://nvd.nist.gov/vuln/detail/CVE-2021-41589), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41589 · Whole record: https://cve.day/CVE-2021-41589.json · Rebuilt by cve.day 2026-11-25T22:58:05.218Z
