# CVE-2023-26053: Gradle usage of long IDs for PGP keys opens potential for collision attacks

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.26%, higher than 70% of CVEs (2026-11-30)
- Published: 2023-03-02T03:11:31.488Z
- Modified: 2026-09-08T08:45:13.566Z
- Also known as: BIT-GRADLE-2023-26053, GHSA-c724-3xg7-g3hf
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- gradle gradle: >= 6.2, < 6.9.4; >= 7.0.0, < 7.6.1; from 6.2.0 before 6.9.4; from 7.0.0 before 7.6.1
- gradle (Bitnami): from 6.2.0 before 6.9.4; from 7.0.0 before 7.6.1

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/gradle/gradle/security/advisories/GHSA-c724-3xg7-g3hf> (advisory, vendor-advisory)
- <https://github.com/gradle/gradle/commit/bf3cc0f2b463033037e67aaacda31291643ea1a9> (fix, patch)
- <https://security.netapp.com/advisory/ntap-20230413-0002/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26053> (web)

## Sources

- CVE List: [CVE-2023-26053](https://www.cve.org/CVERecord?id=CVE-2023-26053), CVE Terms of Use, modified 2025-03-05
- NVD: [CVE-2023-26053](https://nvd.nist.gov/vuln/detail/CVE-2023-26053), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GRADLE-2023-26053](https://osv.dev/vulnerability/BIT-GRADLE-2023-26053), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-26053 · Whole record: https://cve.day/CVE-2023-26053.json · Rebuilt by cve.day 2026-11-25T22:58:22.239Z
