{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-22816","published":"2026-01-16T23:15:50.127000Z","last_modified":"2026-06-17T10:20:28.837000Z","status":"Analyzed","cvss":{"version":"4.0","score":8.6,"severity":"HIGH","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-494","CWE-829"],"cpes":[{"criteria":"cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*","part":"a","vendor":"gradle","product":"gradle","version_end_excluding":"8.14.4"},{"criteria":"cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*","part":"a","vendor":"gradle","product":"gradle","version_start_including":"9.0.0","version_end_excluding":"9.3.0"}],"cpes_truncated":false,"vendors":["gradle"],"products":["gradle/gradle"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-w78c-w6vf-rw82","ecosystem":"Maven","name":"org.gradle:gradle-core","purl":"pkg:maven/org.gradle/gradle-core","ranges":[{"introduced":"0","fixed":"8.14.4"}],"versions":["0.8","0.9","0.9.1","0.9.2","1.0","1.1","1.10","1.11","1.12","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","2.0","2.1","2.10","2.11","2.12","2.13","2.14","2.14.1","2.2","2.2.1","2.3","2.4","2.5","2.6","2.7","2.8","2.9","3.0","3.1","3.2","3.2.1","3.3","3.4","3.4.1","3.5","3.5.1","4.0","4.0.1","4.0.2","4.1","4.10","4.10.1","4.10.2","4.10.3","4.2","4.2.1","4.3","4.3.1","4.4","4.4.1","4.5","4.5.1","4.6","4.7","4.8","4.8.1","4.9","5.0","5.1","5.1.1","5.2","5.2.1","5.3","5.3.1","5.4","5.4.1","5.5","5.5.1","5.6","5.6.1","5.6.2","5.6.3","5.6.4","6.0","6.0.1","6.1","6.1.1","6.2","6.2.1","6.2.2","6.3","6.4","6.4.1","6.5","6.5.1","6.6","6.6.1","6.7","6.7.1","6.8","6.8.1","6.8.2","6.8.3","6.9","6.9.1","6.9.2","6.9.3","6.9.4","7.0","7.0.1","7.0.2","7.1","7.1.1","7.2","7.3","7.3.1","7.3.2","7.3.3","7.4","7.4.1","7.4.2","7.5","7.5.1","7.6","7.6.1","7.6.2","7.6.3","7.6.4","7.6.5","7.6.6","8.0","8.0.1","8.0.2","8.1","8.1.1","8.10","8.10.1","8.10.2","8.11","8.11.1","8.12","8.12.1","8.13","8.14","8.14.1","8.14.2","8.14.3","8.2","8.2.1","8.3","8.4","8.5","8.6","8.7","8.8","8.9"],"versions_truncated":false},{"advisory":"GHSA-w78c-w6vf-rw82","ecosystem":"Maven","name":"org.gradle:gradle-core","purl":"pkg:maven/org.gradle/gradle-core","ranges":[{"introduced":"9.0.0","fixed":"9.3.0"}],"versions":["9.0.0","9.1.0","9.2.0","9.2.1"],"versions_truncated":false}],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2026-22816/","html_en":"/en/cve/CVE-2026-22816/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-22816","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-22816"},"untrusted":{"vendor_name":"Gradle","product_name":"Gradle","desc_en":"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. 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. Gradle has introduced a change in behavior in Gradle 9.3.0 to stop searching other repositories when encountering these errors.","affected":[{"untrusted_vendor":"gradle","untrusted_product":"gradle"}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"e14e6e0dd5b3a11878553687e288ef80","generated":"2026-11-27T22:02:47.901643Z","es":{"untrusted_title":"Descarga de artefactos maliciosos en Gradle por fallos de resolución de reposit…","untrusted_summary":"Gradle en versiones anteriores a 8.14.4 y 9.0.0-9.2.x no trata ciertos errores de resolución de dependencias como fatales, permitiendo que continúe buscando en otros repositorios. Un atacante podría registrar un dominio con nombre no resuelto y servir artefactos maliciosos si el repositorio comprometido está listado primero en la configuración. Gradle 8.14.4 y 9.3.0 corrigen este comportamiento."},"en":{"untrusted_title":"Malicious artifact download in Gradle due to repository resolution failures","untrusted_summary":"Gradle versions before 8.14.4 and 9.0.0-9.2.x do not treat certain dependency resolution errors as fatal, allowing it to continue searching other repositories. An attacker could register a domain with an unresolved name and serve malicious artifacts if the compromised repository is listed first in the build configuration. Gradle 8.14.4 and 9.3.0 fix this behavior."},"remediation":{"status":"fix","fixed_versions":["8.14.4","9.3.0"],"untrusted_action_es":"Actualiza Gradle a versión 8.14.4 o posterior (rama 8.x) o a 9.3.0 o posterior (rama 9.x).","untrusted_action_en":"Update Gradle to version 8.14.4 or later (8.x branch) or to 9.3.0 or later (9.x branch).","vendor_url":"https://github.com/gradle/gradle/security/advisories/GHSA-w78c-w6vf-rw82"},"reviewed":false},"references":[{"url":"https://github.com/gradle/gradle/commit/e5707d0d8fce3d768c9c489004700d78eab1773a","tags":["Patch"]},{"url":"https://github.com/gradle/gradle/security/advisories/GHSA-w78c-w6vf-rw82","tags":["Vendor Advisory"]}]},"social":{"people":1,"posts":1,"window_days":30}}