CVE-2026-50163
published high CVSS 3.1 · 7.1oras-go: Hardlink entry with relative Linkname escapes extract dir via process CWD resolution in `oras-go` tar extraction
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 |
| SUSE / openSUSE | SLE-16 | helmaarch64 | Advisory build | 4.3.0-160000.1.1 | SUSE-SU-2026:23984-1 |
| SUSE / openSUSE | SLE-16 | helmppc64le | Advisory build | 4.3.0-160000.1.1 | SUSE-SU-2026:23984-1 |
| SUSE / openSUSE | SLE-16 | helms390x | Advisory build | 4.3.0-160000.1.1 | SUSE-SU-2026:23984-1 |
| SUSE / openSUSE | SLE-16 | helmx86_64 | Advisory build | 4.3.0-160000.1.1 | SUSE-SU-2026:23984-1 |
| SUSE / openSUSE | SLE-16 | helm-bash-completionnoarch | Advisory build | 4.3.0-160000.1.1 | SUSE-SU-2026:23984-1 |
| SUSE / openSUSE | SLE-16 | helm-fish-completionnoarch | Advisory build | 4.3.0-160000.1.1 | SUSE-SU-2026:23984-1 |
| SUSE / openSUSE | SLE-16 | helm-zsh-completionnoarch | Advisory build | 4.3.0-160000.1.1 | SUSE-SU-2026:23984-1 |
Show 47 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | helmaarch64 | Advisory build | 4.3.0-160000.1.1 | OPENSUSE-SU-2026:21983-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | helmppc64le | Advisory build | 4.3.0-160000.1.1 | OPENSUSE-SU-2026:21983-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | helms390x | Advisory build | 4.3.0-160000.1.1 | OPENSUSE-SU-2026:21983-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | helmx86_64 | Advisory build | 4.3.0-160000.1.1 | OPENSUSE-SU-2026:21983-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | helm-bash-completionnoarch | Advisory build | 4.3.0-160000.1.1 | OPENSUSE-SU-2026:21983-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | helm-fish-completionnoarch | Advisory build | 4.3.0-160000.1.1 | OPENSUSE-SU-2026:21983-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | helm-zsh-completionnoarch | Advisory build | 4.3.0-160000.1.1 | OPENSUSE-SU-2026:21983-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | trivyaarch64 | Advisory build | 0.74.0-160000.2.1 | OPENSUSE-SU-2026:21801-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | trivyppc64le | Advisory build | 0.74.0-160000.2.1 | OPENSUSE-SU-2026:21801-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | trivys390x | Advisory build | 0.74.0-160000.2.1 | OPENSUSE-SU-2026:21801-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | trivyx86_64 | Advisory build | 0.74.0-160000.2.1 | OPENSUSE-SU-2026:21801-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helmaarch64 | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helmppc64le | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helms390x | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helmx86_64 | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-bash-completionaarch64 | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-bash-completionppc64le | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-bash-completions390x | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-bash-completionx86_64 | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-fish-completionaarch64 | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-fish-completionppc64le | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-fish-completions390x | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-fish-completionx86_64 | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-zsh-completionaarch64 | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-zsh-completionppc64le | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-zsh-completions390x | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | helm-zsh-completionx86_64 | Advisory build | 4.2.4-1.1 | OPENSUSE-SU-2026:11575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | orasaarch64 | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | orasppc64le | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | orass390x | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | orasx86_64 | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-bash-completionaarch64 | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-bash-completionppc64le | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-bash-completions390x | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-bash-completionx86_64 | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-fish-completionaarch64 | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-fish-completionppc64le | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-fish-completions390x | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-fish-completionx86_64 | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-zsh-completionaarch64 | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-zsh-completionppc64le | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-zsh-completions390x | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | oras-zsh-completionx86_64 | Advisory build | 1.3.3-2.1 | OPENSUSE-SU-2026:11297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | trivyaarch64 | Advisory build | 0.74.0-2.1 | OPENSUSE-SU-2026:11676-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | trivyppc64le | Advisory build | 0.74.0-2.1 | OPENSUSE-SU-2026:11676-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | trivys390x | Advisory build | 0.74.0-2.1 | OPENSUSE-SU-2026:11676-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | trivyx86_64 | Advisory build | 0.74.0-2.1 | OPENSUSE-SU-2026:11676-1 |
Description
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, ensureLinkPath in content/file/utils.go:262-275 validates a hardlink target relative to the extract base but returns the unresolved target, causing os.Link("victim.secret", "<extract_base>/payload.tar.gz/evil_cwd_link") to resolve header.Linkname against the process current working directory for a Typeflag=TypeLink entry such as Name=payload.tar.gz/evil_cwd_link and Linkname="victim.secret" with io.deis.oras.content.unpack: "true", which can expose or tamper with files such as .env, .git/config, .aws/credentials, and ~/.ssh/config. 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
- 7.1 / 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:L/A:N
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
4Provider assertions
2GitHub_M · cna
oras-go: Hardlink entry with relative Linkname escapes extract dir via process CWD resolution in `oras-go` tar extraction
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aa159af69055158efeef845ac7c51a9081a1b34c2edb9938aeba2c5bc7f5f6de
- Ingested
- 23 Sep 2026, 09:18:57 UTC
- Source record
- Official CVE record