What’s Vulnerable › Vulnerabilities
CVE-2019-15052
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-08-14 · updated 2026-06-17
- Weakness: CWE-522
Description
The HTTP client in Gradle before 5.6 sends authentication credentials originally destined for the configured host. If that host returns a 30x redirect, Gradle also sends those credentials to all subsequent hosts that the request redirects to. This is similar to CVE-2018-1000007.
Affected products
- gradle: before 5.6 — fixed in 5.6
How to fix
Upgrade to a fixed version: gradle 5.6. Check the vendor advisory for mitigations.
References
- https://github.com/gradle/gradle/issues/10278
- https://github.com/gradle/gradle/pull/10176
- https://github.com/gradle/gradle/security/advisories/GHSA-4cwg-f7qc-6r95
- https://github.com/gradle/gradle/issues/10278
- https://github.com/gradle/gradle/pull/10176
- https://github.com/gradle/gradle/security/advisories/GHSA-4cwg-f7qc-6r95
Get alerted when CVE-2019-15052 or the next vulnerability affects your stack