CVEfocus › CVE database › CVE-2026-22865

CVE-2026-22865Gradle's failure to disable repositories failing to answer can expose builds to…

CVSS 8.6 HighEPSS 0.2% (higher than 7% of CVEs)Published 2026-01-16Updated 2026-01-20Assigner: GitHub_M

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.

CWE-494CWE-829

What to do

Fixed builds are available from Alpine, Maven: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
7Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10gradleFix pendingUBUNTU-CVE-2026-22865
Ubuntu 26.04gradleUnder investigationUBUNTU-CVE-2026-22865
Ubuntu 25.10gradleWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-22865
Ubuntu 24.04gradleUnder investigationUBUNTU-CVE-2026-22865
Ubuntu 22.04gradleUnder investigationUBUNTU-CVE-2026-22865
Ubuntu 20.04gradleFix pendingUBUNTU-CVE-2026-22865
Ubuntu 18.04gradleFix pendingUBUNTU-CVE-2026-22865
Ubuntu 16.04gradleFix pendingUBUNTU-CVE-2026-22865
Debian 14gradleFix pendingDEBIAN-CVE-2026-22865
Debian 13gradleFix pendingDEBIAN-CVE-2026-22865
Debian 12gradleFix pendingDEBIAN-CVE-2026-22865
Alpine Linux 3.24gradleFixed8.14.4-r0ALPINE-CVE-2026-22865
Alpine Linux 3.23gradleFixed8.14.4-r0ALPINE-CVE-2026-22865
Maven libraryorg.gradle:gradle-coreFixed9.3.0GHSA-mqwm-5m85-gmcv

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.