nday
CVE-2026-22865 GHSA-mqwm-5m85-gmcv

Gradle's failure to disable repositories failing to answer can expose builds to malicious artifacts

gradle / gradle

A public PoC appeared 311 days after disclosure. Patched: fixed in org.gradle:gradle-core 8.14.4 and org.gradle:gradle-core 9.3.0. Listed by 1 of 4 PoC sources: github. Not in CISA KEV.

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-mqwm-5m85-gmcv: maven packages org.gradle:gradle-core
stage
POC
disclosed
disclosure → PoC
T+311d POC is date-only
cvss
8.6 HIGH v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
01-16T22:46Z
PATpatch
11-23T16:04Z
ANAanalysis
no record yet
POCPoC
11-23, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

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.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 8.6, high.

src cvelist · nday , bulk import · raw
{
  "id": 411303,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-22865",
  "occurred_at": "2026-01-16T22:46:19.741Z",
  "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:47:11.391813Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-01-16T22:46:19.741Z",
    "assigner_short_name": "GitHub_M"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed versions org.gradle:gradle-core 8.14.4 and org.gradle:gradle-core 9.3.0. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-mqwm-5m85-gmcv · nday , observed live · raw
{
  "id": 522952,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-mqwm-5m85-gmcv",
  "occurred_at": null,
  "observed_at": "2026-11-23T16:04:12.566454Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-mqwm-5m85-gmcv",
  "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-mqwm-5m85-gmcv",
    "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-mqwm-5m85-gmcv",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-22865",
      "https://github.com/gradle/gradle/commit/d38bfc0f1d4dabd38b305a67489bb8a6645138a1",
      "https://github.com/gradle/gradle/commit/fa96c8bc7f7741e5dfa1da002c559afca3fa1fc1",
      "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-mqwm-5m85-gmcv"
    ],
    "fix_commit_urls": [
      "https://github.com/gradle/gradle/commit/d38bfc0f1d4dabd38b305a67489bb8a6645138a1",
      "https://github.com/gradle/gradle/commit/fa96c8bc7f7741e5dfa1da002c559afca3fa1fc1"
    ],
    "github_reviewed_at": "2026-11-23T15:41:57Z",
    "advisory_updated_at": "2026-11-23T15:41:58Z",
    "source_code_location": "https://github.com/gradle/gradle",
    "advisory_published_at": "2026-11-23T15:41:57Z"
  }
}
2026-11-23date only, from source
+POCpublic PoC

PoC repository on GitHub: googlesky/CVE-2026-22865. The date is the repository's creation day.

src github 1469237399 · nday , observed live · raw
{
  "id": 526519,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/googlesky/CVE-2026-22865",
  "occurred_at": "2026-11-23T19:50:23Z",
  "observed_at": "2026-11-23T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1469237399",
  "detail": {
    "url": "https://github.com/googlesky/CVE-2026-22865",
    "title": "googlesky/CVE-2026-22865",
    "precision": "day"
  }
}

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.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.