CVE-2026-50163oras-project oras-go
High 7.1 No auth needed
Follow: this CVE · oras-project · oras-project oras-go We alert you by email or Slack (account required).
- Priority
- 58
- CVSS 3.1
- 7.1
- EPSS
- —
- Auth required
- No
- Published
- Jul 17, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for oras-go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | oras.land/oras-go/v2 |
< 2.6.2 |
2.6.2 |
go get oras.land/oras-go/v2@v2.6.2 |
| Go | oras.land/oras-go/v2 |
< 2.6.2 |
2.6.2 |
go get oras.land/oras-go/v2@v2.6.2 |
Per OSV / GitHub Advisories (GHSA-fxhp-mv3v-67qp, GO-2026-5880). Check the version in your lockfile before upgrading.
Affected products
- oras-project · oras-go
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for helm · SUSE · SUSE-SU-2026:24282-1 · Oct 19, 2026 High
- Security update for helm · SUSE · openSUSE-SU-2026:21983-1 · Sep 30, 2026 High
- Security update for helm · SUSE · SUSE-SU-2026:23973-1 · Sep 30, 2026 High
Also: SUSE (+8)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.