CVE-2026-75598

Gradle Shadow: Zip Slip path traversal in ShadowCopyAction — no independent entry-name sanitization

Published Nov 6, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rr8v-fxxf-c986 Gradle Shadow: Zip Slip path traversal in ShadowCopyAction — no independent entry-name sanitization
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gradleup
Gradleup shadow
Vendors & Products Gradleup
Gradleup shadow
Type Values Removed Values Added
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.
Title Gradle Shadow: Zip Slip path traversal in ShadowCopyAction — no independent entry-name sanitization
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 1:12 PM
Reserved
Aug 17, 2026, 11:49 PM
Status
Awaiting Analysis
Published
Nov 6, 2026, 6:18 PM
Modified
Nov 12, 2026, 8:04 PM