Gradle Shadow: Zip Slip path traversal in ShadowCopyAction — no independent entry-name sanitization
- CVE-2026-75598
- GHSA-rr8v-fxxf-c986
- EUVD-2026-118393
Description
The Gradle Shadow plugin creates fat or uber JARs and supports file transformation and package relocation. Prior to version 9.6.0, Shadow does not independently validate ZIP entry names before writing them to its output archive. A malicious dependency can cause traversal entry names to be preserved when the applicable archive-processing path does not reject them. Some affected Shadow implementations process dependency archives directly, so upgrading Gradle alone does not universally prevent this behavior. If the resulting archive is extracted without path traversal protection, attacker-controlled files can be written outside the intended destination. This issue is fixed in version 9.6.0.
Text from the CVE.org record.
Recommendation
com.gradleup.shadow:com.gradleup.shadow.gradle.plugin
- If you run a version before 9.6.0update to 9.6.0 or latercom.gradleup.shadow:com.gradleup.shadow.gradle.plugin 9.6.0 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
GradleUp shadow
Affected versions Fixed in < 9.6.0 none stated com.gradleup.shadow:com.gradleup.shadow.gradle.pluginMaven
Affected versions Fixed in before 9.6.0 9.6.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.