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

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

gradle / gradle

Correctif recensé 311 jours après la divulgation. Versions corrigées : org.gradle:gradle-core 8.14.4 et org.gradle:gradle-core 9.3.0. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

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
étape actuelle
PAT
divulgation
délai avant correctif
T+311d
CVSS
8.6 HIGH v4.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
01-16T22:45Z
PATcorrectif
11-23T16:04Z
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 8.6, gravité élevée.

source cvelist · importé en masse par nday le · brut
{
  "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"
  }
}
source non datée ; vu en direct par nday
+PATcorrectif disponible

L’avis indique les versions corrigées org.gradle:gradle-core 8.14.4 et org.gradle:gradle-core 9.3.0. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa GHSA-w78c-w6vf-rw82 · observé en direct par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.