Approved changes feed: RSS · Atom

cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorGradle (b220f387-772d-5a51-a45b-c271aaf9ad41)
ProductGradle (9cc17218-570d-50c7-b534-83afbaea144e)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/gradle purl2cpe 2026-06-01 10:13:29.488648
pkg:deb/ubuntu/gradle purl2cpe 2026-06-01 10:13:29.488649
pkg:docker/gradle purl2cpe 2026-06-01 10:13:29.488651
pkg:github/gradle/gradle purl2cpe 2026-06-01 10:13:29.488652
pkg:rpm/opensuse/gradle purl2cpe 2026-06-01 10:13:29.488654

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-22865 vulnerable 2026-06-08 07:51:14.037993 Gradle's failure to disable repositories failing to answer can expose builds to malicious artifacts
Gradle is a build automation tool, and its native-platform tool provides Java bindings for native APIs. When resolving dependencies in versions before 9.3.0, some exceptions were not treated as fatal errors and would not cause a repository to be disabled. If a build encountered one of these exceptions, Gradle would continue to the next repository in the list and potentially resolve dependencies from a different repository. An exception like NoHttpResponseException can indicate transient errors. If the errors persist after a maximum number of retries, Gradle would continue to the next repository. This behavior could allow an attacker to disrupt the service of a repository and leverage another repository to serve malicious artifacts. This attack requires the attacker to have control over a repository after the disrupted repository. Gradle has introduced a change in behavior in Gradle 9.3.0 to stop searching other repositories when encountering these errors.
Published: 2026-01-16T22:46:19.741Z
Updated: 2026-01-20T14:47:41.205Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-22816 vulnerable 2026-06-08 07:51:13.992291 Gradle fails to disable repositories which can expose builds to malicious artifacts
Gradle is a build automation tool, and its native-platform tool provides Java bindings for native APIs. When resolving dependencies in versions before 9.3.0, some exceptions were not treated as fatal errors and would not cause a repository to be disabled. If a build encountered one of these exceptions, Gradle would continue to the next repository in the list and potentially resolve dependencies from a different repository. If a Gradle build used an unresolvable host name, Gradle would continue to work as long as all dependencies could be resolved from another repository. An unresolvable host name could be caused by allowing a repository's domain name registration to lapse or typo-ing the real domain name. This behavior could allow an attacker to register a service under the host name used by the build and serve malicious artifacts. The attack requires the repository to be listed before others in the build configuration. Gradle has introduced a change in behavior in Gradle 9.3.0 to stop searching other repositories when encountering these errors.
Published: 2026-01-16T22:45:48.937Z
Updated: 2026-01-20T14:49:32.077Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-27148 vulnerable 2026-06-08 07:14:54.224469 Gradle vulnerable to local privilege escalation through system temporary directory
HIGH (8.8)
Gradle is a build automation tool, and its native-platform tool provides Java bindings for native APIs. On Unix-like systems, the system temporary directory can be created with open permissions that allow multiple users to create and delete files within it. This library initialization could be vulnerable to a local privilege escalation from an attacker quickly deleting and recreating files in the system temporary directory. Gradle builds that rely on versions of net.rubygrapefruit:native-platform prior to 0.22-milestone-28 could be vulnerable to a local privilege escalation from an attacker quickly deleting and recreating files in the system temporary directory. In net.rubygrapefruit:native-platform prior to version 0.22-milestone-28, if the `Native.get(Class<>)` method was called, without calling `Native.init(File)` first, with a non-`null` argument used as working file path, then the library would initialize itself using the system temporary directory and NativeLibraryLocator.java lines 68 through 78. Version 0.22-milestone-28 has been released with changes that fix the problem. Initialization is now mandatory and no longer uses the system temporary directory, unless such a path is passed for initialization. The only workaround for affected versions is to make sure to do a proper initialization, using a location that is safe. Gradle 8.12, only that exact version, had codepaths where the initialization of the underlying native integration library took a default path, relying on copying the binaries to the system temporary directory. Any execution of Gradle exposed this exploit. Users of Windows or modern versions of macOS are not vulnerable, nor are users of a Unix-like operating system with the "sticky" bit set or `noexec` on their system temporary directory vulnerable. This problem was fixed in Gradle 8.12.1. Gradle 8.13 release also upgrades to a version of the native library that no longer has that bug. Some workarounds are available. On Unix-like operating systems, ensure that the "sticky" bit is set. This only allows the original user (or root) to delete a file. Mounting `/tmp` as `noexec` will prevent Gradle 8.12 from starting. Those who are are unable to change the permissions of the system temporary directory can move the Java temporary directory by setting the System Property java.io.tmpdir. The new path needs to limit permissions to the build user only.
Published: 2025-02-25T20:13:51.578Z
Updated: 2025-02-25T21:20:46.507Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-44387 vulnerable 2026-06-08 06:12:40.887099 Gradle has incorrect permission assignment for symlinked files used in copy or archiving operations
LOW (3.2)
Gradle is a build tool with a focus on build automation and support for multi-language development. When copying or archiving symlinked files, Gradle resolves them but applies the permissions of the symlink itself instead of the permissions of the linked file to the resulting file. This leads to files having too much permissions given that symlinks usually are world readable and writeable. While it is unlikely this results in a direct vulnerability for the impacted build, it may open up attack vectors depending on where build artifacts end up being copied to or un-archived. In versions 7.6.3, 8.4 and above, Gradle will now properly use the permissions of the file pointed at by the symlink to set permissions of the copied or archived file.
Published: 2023-10-05T17:51:15.407Z
Updated: 2025-02-13T17:13:40.344Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-42445 vulnerable 2026-06-08 06:11:08.076871 Possible local file exfiltration by XML External entity injection
MEDIUM (6.8)
Gradle is a build tool with a focus on build automation and support for multi-language development. In some cases, when Gradle parses XML files, resolving XML external entities is not disabled. Combined with an Out Of Band XXE attack (OOB-XXE), just parsing XML can lead to exfiltration of local text files to a remote server. Gradle parses XML files for several purposes. Most of the time, Gradle parses XML files it generated or were already present locally. Only Ivy XML descriptors and Maven POM files can be fetched from remote repositories and parsed by Gradle. In Gradle 7.6.3 and 8.4, resolving XML external entities has been disabled for all use cases to protect against this vulnerability. Gradle will now refuse to parse XML files that have XML external entities.
Published: 2023-10-06T13:52:02.982Z
Updated: 2025-06-16T17:08:05.678Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-35947 vulnerable 2026-06-08 06:06:28.197473 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-35946 vulnerable 2026-06-08 06:06:28.197076 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-26053 vulnerable 2026-06-08 05:57:37.941966 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-31156 vulnerable 2026-06-08 05:43:40.297738 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23630 vulnerable 2026-06-08 05:40:58.073138 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-32751 vulnerable 2026-06-08 05:32:07.955574 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-29429 vulnerable 2026-06-08 05:31:26.341789 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-29428 vulnerable 2026-06-08 05:31:26.341344 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-29427 vulnerable 2026-06-08 05:31:26.340643 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-11979 vulnerable 2026-06-08 05:17:55.923173 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-16370 vulnerable 2026-06-08 05:13:08.382731 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-15052 vulnerable 2026-06-08 05:12:56.597476 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-11065 vulnerable 2026-06-08 05:12:34.948839 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.