Org.gradle:gradle core: Gradle causes Failure to disable repositories can expose builds to malicious artifacts
Affects org.gradle:gradle-coreSource GCVE Database
Not known to be exploited · CVSS 8.6 High : upgrade to 8.14.4 soon.
Data as of 23 Nov 2026, 16:39 UTC
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Mavenorg.gradle:gradle-core | Affected
| Fixed in
|
| Mavenorg.gradle:gradle-core | Affected
| Fixed in
|
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
- github.com/gradle/gradle/security/advisories/GHSA-w78c-w6vf-rw82 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-22816 (opens in a new tab)
- github.com/gradle/gradle/commit/4f2e3bbee4d0cee307dd97b684f11cfbe711b6f3 (opens in a new tab)
- github.com/gradle/gradle/commit/e5707d0d8fce3d768c9c489004700d78eab1773a (opens in a new tab)
- docs.gradle.org/8.14.4/release-notes.html (opens in a new tab)
- docs.gradle.org/9.3.0/release-notes.html (opens in a new tab)
- github.com/gradle/gradle (opens in a new tab)
- github.com/gradle/gradle/releases/tag/v8.14.4 (opens in a new tab)
- github.com/gradle/gradle/releases/tag/v9.3.0 (opens in a new tab)