nday
CVE-2026-22816 GHSA-w78c-w6vf-rw82

Gradle fails to disable repositories which can expose builds to malicious artifacts

gradle / gradle

Hay constancia de un parche 311 días después de la divulgación. Versiones corregidas: org.gradle:gradle-core 8.14.4 y org.gradle:gradle-core 9.3.0. Ninguna de las cuatro fuentes de PoC la recoge. No figura en el KEV de CISA.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in 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 (CVSS 4.0) from the CNA GitHub_M
no authentication required
PR:N in 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 (CVSS 4.0) from the CNA GitHub_M
Maven
GHSA-w78c-w6vf-rw82: maven packages org.gradle:gradle-core
etapa
PAT
divulgación
divulgación → parche
T+311d
cvss
8.6 HIGH v4.0

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
01-16T22:45Z
PATparcheada
11-23T16:04Z
ANAanalizada
sin registro aún
POCPoC
sin registro aún
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: the attacker must evade or get around security measures such as ASLR or DEP, or obtain target-specific secrets
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:N
None: no account or authorization needed
User interaction UI:P
Passive: limited, involuntary interaction, such as visiting a page

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

CVSS 4.0 vector from the CVE record, scored by the CNA GitHub_M.

Registro de eventos

+DISdivulgación

GitHub_M publicó el registro CVE. CVSS 8.6, severidad alta.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 411269,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-22816",
  "occurred_at": "2026-01-16T22:45:48.937Z",
  "observed_at": "2026-11-13T05:39:37.317819Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "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",
      "version": "4.0",
      "base_score": 8.6,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-01-20T14:49:03.938522Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-01-16T22:45:48.937Z",
    "assigner_short_name": "GitHub_M"
  }
}
hora observada en tiempo real por nday
+PATparche registrado

Versiones corregidas según el aviso: org.gradle:gradle-core 8.14.4 y org.gradle:gradle-core 9.3.0. El aviso enlaza los commits de la corrección. Aviso publicado el ; no consta cuándo se publicó el parche en sí.

fuente ghsa GHSA-w78c-w6vf-rw82 · nday , observado en tiempo real · en bruto
{
  "id": 522953,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-w78c-w6vf-rw82",
  "occurred_at": null,
  "observed_at": "2026-11-23T16:04:12.566454Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-w78c-w6vf-rw82",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 8.6,
        "vector_string": "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"
      }
    },
    "cwes": [
      {
        "name": "Download of Code Without Integrity Check",
        "cwe_id": "CWE-494"
      },
      {
        "name": "Inclusion of Functionality from Untrusted Control Sphere",
        "cwe_id": "CWE-829"
      }
    ],
    "ghsa_id": "GHSA-w78c-w6vf-rw82",
    "packages": [
      {
        "name": "org.gradle:gradle-core",
        "ecosystem": "maven",
        "first_patched_version": "8.14.4",
        "vulnerable_version_range": "< 8.14.4"
      },
      {
        "name": "org.gradle:gradle-core",
        "ecosystem": "maven",
        "first_patched_version": "9.3.0",
        "vulnerable_version_range": ">= 9.0.0, < 9.3.0"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/gradle/gradle/security/advisories/GHSA-w78c-w6vf-rw82",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-22816",
      "https://github.com/gradle/gradle/commit/4f2e3bbee4d0cee307dd97b684f11cfbe711b6f3",
      "https://github.com/gradle/gradle/commit/e5707d0d8fce3d768c9c489004700d78eab1773a",
      "https://docs.gradle.org/8.14.4/release-notes.html",
      "https://docs.gradle.org/9.3.0/release-notes.html",
      "https://github.com/gradle/gradle/releases/tag/v8.14.4",
      "https://github.com/gradle/gradle/releases/tag/v9.3.0",
      "https://github.com/advisories/GHSA-w78c-w6vf-rw82"
    ],
    "fix_commit_urls": [
      "https://github.com/gradle/gradle/commit/4f2e3bbee4d0cee307dd97b684f11cfbe711b6f3",
      "https://github.com/gradle/gradle/commit/e5707d0d8fce3d768c9c489004700d78eab1773a"
    ],
    "github_reviewed_at": "2026-11-23T15:33:34Z",
    "advisory_updated_at": "2026-11-23T15:39:17Z",
    "source_code_location": "https://github.com/gradle/gradle",
    "advisory_published_at": "2026-11-23T15:33:34Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.