CVE-2022-26049
published medium CVSS 3.1 · 5.3Arbitrary File Write via Archive Extraction (Zip Slip)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | com.diffplug.gradle:goomphunspecified to < 3.37.2 | Affected | Not stated | snyk |
Description
This affects the package com.diffplug.gradle:goomph before 3.37.2. It allows a malicious zip file to potentially break out of the expected destination directory, writing contents into arbitrary locations on the file system. Overwriting certain files/directories could allow an attacker to achieve remote code execution on a target system by exploiting this vulnerability. **Note:** This could have allowed a malicious zip file to extract itself into an arbitrary directory. The only file that Goomph extracts is the p2 bootstrapper and eclipse metadata files hosted at eclipse.org, which are not malicious, so the only way this vulnerability could have affected you is if you had set a custom bootstrap zip, and that zip was malicious.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | com.diffplug.gradle:goomph | unspecified to < 3.37.2 (affected · custom) | snyk · cna |
Weaknesses
1- Arbitrary File Write via Archive Extraction (Zip Slip)
References
3Provider assertions
2snyk · cna
Arbitrary File Write via Archive Extraction (Zip Slip)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5b3abb2296622dacb706fe758578b5679a750afeb3909936bd09e5de9b968733
- Ingested
- 23 Sep 2026, 07:59:13 UTC
- Source record
- Official CVE record