{
  "id": "CVE-2026-22865",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22865",
  "published_at": "2026-01-16T22:46:19.741Z",
  "title": "Gradle's failure to disable repositories failing to answer can expose builds to malicious artifacts",
  "vendor": "gradle",
  "product": "gradle",
  "cvss": {
    "score": 8.6,
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-11-23T19:50:23Z",
    "first_seen_at": "2026-11-23T20:21:31.862Z",
    "days_after_publication": 310.9,
    "repo": "googlesky/CVE-2026-22865",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-494",
  "cpes": [
    "cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6,
    "nvd": 7.4
  },
  "repos": [
    {
      "repo": "googlesky/CVE-2026-22865",
      "url": "https://github.com/googlesky/CVE-2026-22865",
      "created_at": "2026-11-23T19:50:23Z",
      "first_seen_at": "2026-11-23T20:21:31.862Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-08T15:16:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "gradle",
        "product": "gradle",
        "ranges": [
          "\u003c 9.3.0"
        ],
        "fixed_in": [
          "9.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade gradle to 9.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/gradle/gradle/security/advisories/GHSA-mqwm-5m85-gmcv"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
