Path traversal in Gradle Shadow plugin lets attackers write files
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The GradleUp Shadow plugin, which builds fat or uber JARs, is affected before version 9.6.0. It does not independently validate ZIP entry names before writing them to its output archive, so path traversal names can be preserved (CWE-22). An attacker who supplies a malicious dependency can cause this, and attacker-controlled files can be written outside the intended destination if the resulting archive is extracted without path traversal protection.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade GradleUp Shadow to version 9.6.0, which fixes this issue. Upgrading Gradle alone does not universally prevent this behavior, because some Shadow implementations process dependency archives directly.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA shadow (GradleUp) Fixed in 9.6.0
Timeline
- 2026-11-06 Threatist record created from CVE-2026-75598
- 2026-11-08 Priority changed: MEDIUM → LOW
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences