Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.
Resumen
CVE-2026-22816: vulnerabilidad de severidad alta (CVSS 8.6) en org.gradle:gradle-core.
Qué ocurre
Descripción original de la fuente (en inglés): ### 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 a…
Por qué importa
Severidad alta, CVSS 8.6.
Productos y versiones afectados
org.gradle:gradle-core < 8.14.4 (corregido en 8.14.4); org.gradle:gradle-core >= 9.0.0, < 9.3.0 (corregido en 9.3.0)
| Producto | Versiones | Corregido en |
|---|---|---|
| org.gradle:gradle-core | < 8.14.4 | 8.14.4 |
| org.gradle:gradle-core | >= 9.0.0, < 9.3.0 | 9.3.0 |
Acción recomendada por la fuente
Actualizar a una versión corregida: 8.14.4, 9.3.0.
Corregido en: 8.14.4, 9.3.0
Fuentes y referencias
- https://github.com/advisories/GHSA-w78c-w6vf-rw82 — GHSA
- https://github.com/gradle/gradle/security/advisories/GHSA-w78c-w6vf-rw82 — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-22816 — GHSA
- https://github.com/gradle/gradle/commit/4f2e3bbee4d0cee307dd97b684f11cfbe711b6f3 — GHSA
- https://github.com/gradle/gradle/commit/e5707d0d8fce3d768c9c489004700d78eab1773a — GHSA
- https://docs.gradle.org/8.14.4/release-notes.html — GHSA
- https://docs.gradle.org/9.3.0/release-notes.html — GHSA
- https://github.com/gradle/gradle/releases/tag/v8.14.4 — GHSA
- https://github.com/gradle/gradle/releases/tag/v9.3.0 — GHSA
Debilidades (CWE): CWE-494, CWE-829
Historial de cambios relevantes
Publicado
Aviso preliminar publicado.