{"cve":"CVE-2022-26049","nvd":{"published":"2022-09-11T14:15:08.887","modified":"2026-06-17T04:34:36.637","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-22"],"references":["https://github.com/diffplug/goomph/commit/25f04f67ba62d9a14104bee13a0a0f2517afb8c8","https://github.com/diffplug/goomph/pull/198","https://security.snyk.io/vuln/SNYK-JAVA-COMDIFFPLUGGRADLE-2981040","https://github.com/diffplug/goomph/commit/25f04f67ba62d9a14104bee13a0a0f2517afb8c8","https://github.com/diffplug/goomph/pull/198"],"products":["diffplug:goomph"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-26049","score":0.0248,"percentile":0.84578,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p2f7-9cv7-jjf6","url":"https://osv.dev/vulnerability/GHSA-p2f7-9cv7-jjf6","summary":"Goomph before 3.37.2 allows malicious zip file to write contents to arbitrary locations","modified":"2026-09-10T03:50:07.415032301Z","packages":[{"ecosystem":"Maven","name":"com.diffplug.gradle:goomph","purl":"pkg:maven/com.diffplug.gradle/goomph","ranges":["<3.37.2"],"fixed":["3.37.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}