{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-22865","published":"2026-01-16T23:15:50.280000Z","last_modified":"2026-06-17T10:20:31.813000Z","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-mqwm-5m85-gmcv","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-mqwm-5m85-gmcv","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-22865/","html_en":"/en/cve/CVE-2026-22865/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-22865","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-22865"},"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. An exception like NoHttpResponseException can indicate transient errors. If the errors persist after a maximum number of retries, Gradle would continue to the next repository. This behavior could allow an attacker to disrupt the service of a repository and leverage another repository to serve malicious artifacts. This attack requires the attacker to have control over a repository after the disrupted repository. 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":"b32d039ce3dd03757f764f8b3523708e","generated":"2026-11-27T22:02:48.102563Z","es":{"untrusted_title":"Resolución insegura de dependencias en Gradle permite inyección de artefactos m…","untrusted_summary":"Gradle en versiones anteriores a 8.14.4 y 9.0.0-9.2.x no trata ciertas excepciones como errores fatales durante la resolución de dependencias, permitiendo que continúe buscando en repositorios alternativos. Un atacante que controle un repositorio posterior podría servir artefactos maliciosos si logra interrumpir un repositorio anterior. Gradle 8.14.4 y 9.3.0 corrigen este comportamiento."},"en":{"untrusted_title":"Insecure dependency resolution in Gradle allows malicious artifact injection","untrusted_summary":"Gradle in versions before 8.14.4 and 9.0.0-9.2.x does not treat certain exceptions as fatal errors during dependency resolution, allowing it to continue searching alternative repositories. An attacker controlling a downstream repository could serve malicious artifacts if they disrupt an upstream repository. 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 9.3.0 o posterior para evitar la resolución insegura de dependencias.","untrusted_action_en":"Update Gradle to version 8.14.4 or 9.3.0 or later to prevent insecure dependency resolution.","vendor_url":"https://github.com/gradle/gradle/security/advisories/GHSA-mqwm-5m85-gmcv"},"reviewed":false},"references":[{"url":"https://github.com/gradle/gradle/security/advisories/GHSA-mqwm-5m85-gmcv","tags":["Vendor Advisory"]}]},"social":{"people":1,"posts":1,"window_days":30}}