Dependency Resolution Flaw in Gradle Build Tool
CVE-2026-22865

8.6HIGH

Key Information:

Vendor

Gradle

Status
Vendor
CVE Published:
16 January 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2026-22865?

Gradle, a widely used build automation tool, exhibits a vulnerability in its native-platform tool which specifically impacts dependency resolution in versions prior to 9.3.0. When certain exceptions occur, they are not treated as fatal errors, allowing Gradle to bypass potentially compromised repositories. This enables an attacker controlling a disrupted repository to influence the build process and serve malicious artifacts from an alternative repository. Gradle has addressed this issue in version 9.3.0 by altering the error-handling behavior to prevent such vulnerabilities during the dependency resolution process.

Affected Version(s)

gradle < 9.3.0

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
8.6
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.