Answer in brief
CVE-2026-22816 records a High severity (CVSS 7.4) vulnerability in Gradle causes Failure to disable repositories can expose builds to malicious artifacts. The current sources do not mark it as known exploited. The current feed maps org.gradle:gradle-core (maven), org.gradle:gradle-core (maven). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 7.4. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps org.gradle:gradle-core (maven), org.gradle:gradle-core (maven). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| org.gradle:gradle-coremaven | <8.14.4 | 8.14.4 |
| org.gradle:gradle-coremaven | >=9.0.0,<9.3.0 | 9.3.0 |
Published upstream
Nov 23, 2026
Evidence: source:ghsa:source_dates:source-dates:recordSource modified
Nov 23, 2026
Evidence: source:ghsa:source_dates:source-dates:recordFirst seen by HOL
Nov 23, 2026
### Impact When resolving dependencies, Gradle searches repositories in declaration order. If it encounters connection errors, Gradle will disable the repository and fail dependency resolution. This is necessary for both reproducibility and security reasons to prevent dependencies from being resolved from other repositories without warning. In previous versions of Gradle, 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. #### Vulnerability caused by unresolvable host names [`UnknownHostException`](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/net/UnknownHostException.html) are caused when a host name cannot be resolved to an IP address. This can be caused by DNS misconfiguration, host name typos or any problem that prevents host name resolution. If a Gradle build used an unresolvable host name, Gradle would continue to work as long as all dependencies could be resolved from another repository. An unresolvable host name could be caused by allowing a repository's domain name registration to lapse or typo-ing the real domain name. This behavior could allow an attacker to register a service under the host name used by the build and serve malicious artifacts. The attack requires the repository to be listed before others in the build configuration. ### Patches Gradle has introduced a change in behavior in Gradle 9.3.0 and 8.14.4 to stop searching other repositories when encountering these errors. Upgrading to either version will protect you against the vulnerabilities described here. ### Workarounds If you are using strict [repository content filtering](https://docs.gradle.org/9.3.0/userguide/filtering_repository_content.html#header) and / or [dependency verification](https://docs.gradle.org/9.3.0/userguide/dependency_verification.html), your build is safe from the potential vulnerabilities described above. If you cannot update to a newer Gradle version, configuring [dependency verification](https://docs.gradle.org/9.3.0/userguide/dependency_verification.html) is the best way to make sure your build resolves the dependencies you expect and nothing else. You should also review which repositories your builds use to check for unused or outdated repository declarations. ### Related * [Security feature of failing fast on bad repos does not seem to be implemented](https://github.com/gradle/gradle/issues/35927) * [Repository disabling](https://docs.gradle.org/current/userguide/graph_resolution.html#sec:repository-disabling) * [Advisory about repositories failing to answer](https://github.com/gradle/gradle/security/advisories/GHSA-mqwm-5m85-gmcv)
Quoted source text, attributed separately from HOL analysis.