CVE-2026-85731
published high CVSS 3.1 · 8.8oras-go: Arbitrary file write outside file.Store root via symlink-chain bypass in tar extraction (pushDir)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| oras-project | — | oras-go< 2.6.2 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | helmaarch64 | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP4 | helmppc64le | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP4 | helms390x | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP4 | helmx86_64 | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP4 | helm-bash-completionnoarch | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
Show 41 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | helm-zsh-completionnoarch | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP5 | helmaarch64 | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP5 | helmppc64le | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP5 | helms390x | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP5 | helmx86_64 | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP5 | helm-bash-completionnoarch | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP5 | helm-zsh-completionnoarch | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP6 | helmaarch64 | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP6 | helmppc64le | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP6 | helms390x | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP6 | helmx86_64 | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP6 | helm-bash-completionnoarch | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP6 | helm-zsh-completionnoarch | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP7 | helmaarch64 | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP7 | helmppc64le | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP7 | helms390x | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP7 | helmx86_64 | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP7 | helm-bash-completionnoarch | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP7 | helm-fish-completionnoarch | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-15-SP7 | helm-zsh-completionnoarch | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-5 | helmaarch64 | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-5 | helmppc64le | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-5 | helms390x | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-5 | helmx86_64 | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | SLE-5 | helm-bash-completionnoarch | Advisory build | 3.22.0-150000.1.99.1 | SUSE-SU-2026:4417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3aarch64 | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3ppc64le | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3s390x | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3x86_64 | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-bash-completionaarch64 | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-bash-completionppc64le | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-bash-completions390x | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-bash-completionx86_64 | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-fish-completionaarch64 | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-fish-completionppc64le | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-fish-completions390x | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-fish-completionx86_64 | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-zsh-completionaarch64 | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-zsh-completionppc64le | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-zsh-completions390x | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm3-zsh-completionx86_64 | Advisory build | 3.22.0-1.1 | OPENSUSE-SU-2026:11832-1 |
Description
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, content/file.Store extraction of OCI layers marked with io.deis.oras.content.unpack=true can write outside the store working directory. The pushDir path through extractTarDirectory and ensureLinkPath validates symlink targets lexically, resolveRelToBase skips its parent-symlink walk for root-level entries, and writeFile follows a terminal symlink when opening a regular file. A malicious archive can therefore create a symlink chain whose lexical target remains inside the extraction root but whose resolved target is an attacker-selected absolute path, then overwrite that target with a same-named regular-file entry even when AllowPathTraversalOnWrite is false. Pulling an attacker-controlled artifact can create or overwrite any file writable by the process and may lead to code execution. This issue is fixed in version 2.6.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| oras-project | oras-go | < 2.6.2 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
3Provider assertions
2GitHub_M · cna
oras-go: Arbitrary file write outside file.Store root via symlink-chain bypass in tar extraction (pushDir)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0560f9dafe132e2d4ab54de1c2910b79bb683d7f56a39d25c5552489336aacb6
- Ingested
- 23 Sep 2026, 09:37:04 UTC
- Source record
- Official CVE record