# CVE-2020-26279: Path traversal

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- 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.70%, higher than 77% of CVEs (2026-12-01)
- Published: 2021-03-24T20:20:14.000Z
- Modified: 2026-09-10T03:49:14.888Z
- Also known as: GHSA-27pv-q55r-222g, GO-2022-0779
- Weaknesses: CWE-22
- Assigned by: GitHub_M

## Description

go-ipfs is an open-source golang implementation of IPFS which is a global, versioned, peer-to-peer filesystem. In go-ipfs before version 0.8.0-rc1, it is possible for path traversal to occur with DAGs containing relative paths during retrieval. This can cause files to be overwritten, or written to incorrect output directories. The issue can only occur when a get is done on an affected DAG. This is fixed in version 0.8.0-rc1.

(As written by CVE List.)

## Affected

- ipfs go-ipfs: < 0.8.0-rc1
- github.com/ipfs/go-ipfs (Go): before 0.8.0
- protocol go-ipfs: up to 0.7.0

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:P`

## References

- <https://github.com/ipfs/go-ipfs/security/advisories/GHSA-27pv-q55r-222g> (advisory, third-party-advisory, web)
- <https://github.com/ipfs/go-ipfs/commit/b7ddba7fe47dee5b1760b8ffe897908417e577b2> (fix, patch, third-party-advisory, web)
- <https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26279> (advisory)

## Sources

- CVE List: [CVE-2020-26279](https://www.cve.org/CVERecord?id=CVE-2020-26279), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-27pv-q55r-222g](https://github.com/advisories/GHSA-27pv-q55r-222g), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0779](https://pkg.go.dev/vuln/GO-2022-0779), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2020-26279](https://nvd.nist.gov/vuln/detail/CVE-2020-26279), Public domain, modified 2026-06-17

---

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