Read the docs
TI-2023-11286 Aliases CVE-2023-26053

Gradle usage of long IDs for PGP keys opens potential for collision attacks

Priority MEDIUM 45CWE-829Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-829.

Summary

Gradle is a build tool with a focus on build automation and support for multi-language development. This is a collision attack on long IDs (64bits) for PGP keys. Users of dependency verification in Gradle are vulnerable if they use long IDs for PGP keys in a `trusted-key` or `pgp` element in their dependency verification metadata file. The fix is to fail dependency verification if anything but a fingerprint is used in a trust element in dependency verification metadata. The problem is fixed in Gradle 8.0 and above. The problem is also patched in Gradle 6.9.4 and 7.6.1. As a workaround, use only full fingerprint IDs for `trusted-key` or `pgp` element in the metadata is a protection against this issue.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00994 62nd percentileScored 2026-11-07
Fix Partial gradle (gradle): 6.9.4, 7.6.1Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gradlegradle6.2 to before 6.9.4; 7.0.0 to before 7.6.16.9.4, 7.6.1Patch availableCNA
  • gradle Vendorgradle Affected 6.2 to before 6.9.4; 7.0.0 to before 7.6.1 Fixed in 6.9.4, 7.6.1 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:*6.2.0 to before 6.9.4; 7.0.0 to before 7.6.1Vulnerablegradle
  • cpe:2.3:a:gradle:gradle:*:*:*:*:*:*:*:* Versions 6.2.0 to before 6.9.4; 7.0.0 to before 7.6.1 Vulnerable ·gradle

Remediation

  • Fix · CNA gradle (gradle) Fixed in 6.9.4, 7.6.1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat JBoss Enterprise Application Platform 6AffectedNo fix planned: Out of support scope
Not affected: 1 product
  • Red Hat JBoss Enterprise Application Platform 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-26053

References

  • TI-2016-05320 ObjectSocketWrapper.java in Gradle 2.12 allows remote attackers to execute arbitrary code… CVSS 3.0CRITICAL 9.8
  • TI-2020-09639 Injection in Apache Ant CVSS 3.1HIGH 7.5
  • TI-2019-11237 The HTTP client in Gradle before 5.6 sends authentication credentials originally destined… CVSS 3.1CRITICAL 9.8
  • TI-2021-12419 Arbitrary code execution via specially crafted environment variables CVSS 3.1HIGH 7.5
  • TI-2021-10141 Local privilege escalation through system temporary directory CVSS 3.1HIGH 8.8
  • TI-2022-07682 Dependency verification bypass in Gradle CVSS 3.1HIGH 7.5
See all 22 →

Sources