PT-2026-3331 · Gradle · Gradle
Highcobexer
+1
·
Published
2026-01-16
·
Updated
2026-01-22
·
CVE-2026-22865
CVSS v4.0
8.6
High
| Vector | AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:H/SA:N |
Name of the Vulnerable Software and Affected Versions
Gradle versions prior to 9.3.0
Description
Gradle, a build automation tool, has an issue where dependency resolution in versions before 9.3.0 does not treat certain exceptions as fatal errors. This allows Gradle to continue to subsequent repositories if an error occurs, potentially resolving dependencies from a malicious source after a legitimate repository is disrupted. Specifically, exceptions like
NoHttpResponseException are not immediately fatal, and Gradle proceeds to the next repository after retries. This behavior could allow an attacker controlling a repository to serve malicious artifacts if a primary repository is unavailable. The issue is resolved by stopping the search for other repositories when encountering these errors.Recommendations
Update to Gradle version 9.3.0 or later.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Gradle