CVE-2021-41619
CVE-2021-41619 is a high-severity vulnerability in Gradle Enterprise with a CVSS 3.x base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: High (CVSS 3.x base score 7.2)
- CVSS v2: 9.0
- EPSS exploit prediction: 3% (84th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-94
- Affected product: Gradle Enterprise
- Published:
- Last modified:
Description
An issue was discovered in Gradle Enterprise before 2021.1.2. There is potential remote code execution via the application startup configuration. The installation configuration user interface (available to administrators) allows specifying arbitrary Java Virtual Machine startup options. Some of these options, such as -XX:OnOutOfMemoryError, allow specifying a command to be run on the host. This can be abused to run arbitrary commands on the host, should an attacker gain administrative access to the application.
Frequently asked questions
- What is CVE-2021-41619?
- An issue was discovered in Gradle Enterprise before 2021.1.2. There is potential remote code execution via the application startup configuration. The installation configuration user interface (available to administrators) allows specifying arbitrary Java Virtual Machine startup options. Some of these options, such as -XX:OnOutOfMemoryError, allow specifying a command to be run on the host. This can be abused to run arbitrary commands on the host, should an attacker gain administrative access to the application.
- How severe is CVE-2021-41619?
- CVE-2021-41619 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-41619 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (84th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-41619?
- CVE-2021-41619 affects Gradle Enterprise. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-41619?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-41619 published?
- CVE-2021-41619 was published on 2021-10-27 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:gradle:enterprise:*:*:*:*:*:*:*:*
More vulnerabilities in Gradle Enterprise
- CVE-2023-49238 — Critical (CVSS 9.8): In Gradle Enterprise before 2023.1, a remote attacker may be able to gain access to a new installation (in certain…
- CVE-2022-27919 — Critical (CVSS 9.8): Gradle Enterprise before 2022.1 allows remote code execution if the installation process did not specify an initial…
- CVE-2021-41589 — Critical (CVSS 9.8): In Gradle Enterprise before 2021.3 (and Enterprise Build Cache Node before 10.0), there is potential cache poisoning…
- CVE-2019-11403 — Critical (CVSS 9.8): In Gradle Enterprise before 2018.5.2, Build Cache Nodes would reflect the configured password back when viewing the…
- CVE-2019-11402 — Critical (CVSS 9.8): In Gradle Enterprise before 2018.5.3, Build Cache Nodes did not store the credentials at rest in an encrypted format.
- CVE-2020-15776 — High (CVSS 8.8): An issue was discovered in Gradle Enterprise 2018.2 - 2020.2.4. The CSRF prevention token is stored in a request cookie…
All CVEs affecting Gradle Enterprise →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.