{"id":"CVE-2026-22865","published":"2026-01-16T22:46:19Z","modified":"2026-01-20T14:47:41Z","title":"Gradle's failure to disable repositories failing to answer can expose builds to malicious artifacts","vendor":"gradle","product":"gradle","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:H/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00158,"percentile":0.04851,"provenance":"source"},"cwes":[{"id":"CWE-494","name":"Download of Code Without Integrity Check"},{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://github.com/gradle/gradle/security/advisories/GHSA-mqwm-5m85-gmcv","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":0.97},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.02}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-11-23","earliestUrl":"https://github.com/googlesky/CVE-2026-22865","repos":[{"name":"googlesky/CVE-2026-22865","url":"https://github.com/googlesky/CVE-2026-22865","stars":0,"created":"2026-11-23"}]},"first":{"date":"2026-11-23","source":"PoC-in-GitHub","url":"https://github.com/googlesky/CVE-2026-22865"},"provenance":"source"},"vendorSlug":"gradle","affectedVersions":[{"vendor":"gradle","product":"gradle","versions":["< 9.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-20T14:47:11.391813Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.gradle:gradle-core","vulnerableRanges":["<8.14.4",">=9.0.0, <9.3.0"],"patched":["8.14.4","9.3.0"],"from":["GHSA-mqwm-5m85-gmcv"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-3594","exploited":false,"provenance":"source"}}