CVE-2023-26053
criticalpriority · track · 39EPSS 0.010 · 62 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.6–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- BIT-gradle-2023-26053Gradle usage of long IDs for PGP keys opens potential for collision attacks2024-03-06vendor · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-26053/cnnvd
- https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9cnnvd
- https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hfcnnvd
- https://security.netapp.com/advisory/ntap-20230413-0002/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.3726cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.6619cnnvd
- https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9enisa_euvd
- https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hfenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan