CVE-2020-36561
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Does this matter?
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.
Description
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
- CVSS 3.1
- 9.1 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS
- 1.36% probability · 72th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- unzip project/unzip
- Source
- security@golang.org
EPSS 1.4% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73Patch, Third Party Advisory
- https://github.com/yi-ge/unzip/pull/1Exploit, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2020-0035Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerabilityTechnical Description, Third Party Advisory
- https://github.com/yi-ge/unzip/commit/2adbaa4891b9690853ef10216189189f5ad7dc73Patch, Third Party Advisory
- https://github.com/yi-ge/unzip/pull/1Exploit, Third Party Advisory
- https://pkg.go.dev/vuln/GO-2020-0035Third Party Advisory
- https://snyk.io/research/zip-slip-vulnerabilityTechnical Description, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.