CVE-2020-26279Protocol Go-ipfs
High 8.1
Follow: this CVE · Protocol · Protocol Go-ipfs We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- Yes
- Published
- Mar 24, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go-ipfs.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/ipfs/go-ipfs |
< 0.8.0 |
0.8.0 |
go get github.com/ipfs/go-ipfs@v0.8.0 |
| Go | github.com/ipfs/go-ipfs |
< 0.8.0 |
0.8.0 |
go get github.com/ipfs/go-ipfs@v0.8.0 |
Per OSV / GitHub Advisories (GHSA-27pv-q55r-222g, GO-2022-0779). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| protocol | go-ipfs | ≤ 0.7.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Patch Third Party Advisory