{"id":"CVE-2020-36561","url":"https://www.cyber-defence.io/tools/cve/CVE-2020-36561","generatedAt":"2026-10-27T23:29:02.375Z","title":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","published":"2022-12-27T22:15:12.000Z","lastModified":"2026-06-17T03:15:44.000Z","status":"Modified","sourceIdentifier":"security@golang.org","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},"cwe":["CWE-22"],"affected":["unzip project/unzip"],"epss":{"score":0.01363,"percentile":0.71583,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.36%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73","tags":["Patch","Third Party Advisory"],"source":"security@golang.org"},{"url":"https://github.com/yi-ge/unzip/pull/1","tags":["Exploit","Third Party Advisory"],"source":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2020-0035","tags":["Third Party Advisory"],"source":"security@golang.org"},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["Technical Description","Third Party Advisory"],"source":"security@golang.org"},{"url":"https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/yi-ge/unzip/pull/1","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://pkg.go.dev/vuln/GO-2020-0035","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["Technical Description","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-36561","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}