Critical
Security advisory
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-36560
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:28 UTC · Revision 1
Source evidence
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
osv:CVE-2020-36560
Complete source record
{
"id": "8f4734a686ba5db665c60d41218e17343a1ac8665e7f6d477a2b7748e4624905",
"url": "https://osv.dev/vulnerability/CVE-2020-36560",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-36560",
"summary": "Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.",
"evidence": "osv:CVE-2020-36560",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-36560",
"aliases": [
"CVE-2020-36560",
"GHSA-rmj9-q58g-9qgg",
"GO-2020-0034"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/artdarek/go-unzip",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6b0fdfb78726fde9025d01cbe254893449f26c50"
},
{
"fixed": "4975cbe0a719dc50b12da8585f1f207c82f7dfe0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:go-unzip_project:go-unzip:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4975cbe0a719dc50b12da8585f1f207c82f7dfe0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36560.json"
}
}
],
"modified": "2026-10-20T10:54:21.426123361Z",
"provider": "osv",
"references": [
"https://pkg.go.dev/vuln/GO-2020-0034",
"https://snyk.io/research/zip-slip-vulnerability",
"https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0",
"https://github.com/artdarek/go-unzip/pull/2"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-36560",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385149,
"published_at": "2022-12-27T22:15:11.573+00:00"
}