Skip to main content
CVE-2026-22816VulnerabilityPublished

Org.gradle:gradle core: Gradle causes Failure to disable repositories can expose builds to malicious artifacts

Affects org.gradle:gradle-coreSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.6 High : upgrade to 8.14.4 soon.

Data as of 23 Nov 2026, 16:39 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 8.14.4, 9.3.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Upgrade org.gradle:gradle-core to 8.14.4; org.gradle:gradle-core to 9.3.0.

Affected software

ProductAffectedFixed in
Mavenorg.gradle:gradle-coreAffected
  • <8.14.4
Fixed in
  • 8.14.4
Mavenorg.gradle:gradle-coreAffected
  • >=9.0.0 <9.3.0
Fixed in
  • 9.3.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Gradle to version 8.14.4 or 9.3.0 or later, where the issue is fixed. If upgrading is not possible, enable strict repository content filtering and dependency verification to ensure only intended dependencies are resolved. Additionally, review and clean up repository declarations to remove unused or outdated entries that could cause unresolvable hostnames.

Description

Gradle versions prior to 8.14.4 and between 9.0.0 and before 9.3.0 have a vulnerability where certain exceptions, such as UnknownHostException caused by unresolvable host names, do not disable repositories during dependency resolution. This can lead to builds resolving dependencies from unintended repositories, potentially allowing attackers to serve malicious artifacts if they control a repository with an unresolvable or lapsed domain name. Gradle 8.14.4 and 9.3.0 introduce fixes to stop searching other repositories when such errors occur. Using strict repository content filtering or dependency verification also mitigates this risk.

References

Community reviews

Loading reviews…