# CVE-2020-36566: Path traversal in github.com/whyrusleeping/tar-utils

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Published: 2021-07-28T18:08:05.000Z
- Modified: 2026-06-17T03:15:45.333Z
- Also known as: GHSA-jpf8-h7h7-3ppm, GO-2021-0106
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Go

## Description

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

(As written by CVE List.)

## Affected

- github.com/whyrusleeping/tar-utils: before 0.0.0-20201201191210-20a61371de5b
- github.com/whyrusleeping/tar-utils (Go): before 0.0.0-20201201191210-20a61371de5b
- tar-utils_project tar-utils: before 0.0.0-20201201191210-20a61371de5b

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227> (fix, patch, third-party-advisory, web)
- <https://snyk.io/research/zip-slip-vulnerability> (technical-description, third-party-advisory, web)
- <https://pkg.go.dev/vuln/GO-2021-0106> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-36566> (advisory)
- <https://github.com/whyrusleeping/tar-utils> (package)

## Sources

- CVE List: [CVE-2020-36566](https://www.cve.org/CVERecord?id=CVE-2020-36566), CVE Terms of Use, modified 2025-04-11
- GitHub Advisory Database: [GHSA-jpf8-h7h7-3ppm](https://github.com/advisories/GHSA-jpf8-h7h7-3ppm), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2021-0106](https://pkg.go.dev/vuln/GO-2021-0106), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2020-36566](https://nvd.nist.gov/vuln/detail/CVE-2020-36566), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-36566 · Whole record: https://cve.day/CVE-2020-36566.json · Rebuilt by cve.day 2026-11-25T22:57:58.778Z
