CVE-2026-50162oras-project oras-go
Medium 6.9 No auth needed
Follow: this CVE · oras-project · oras-project oras-go We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- No
- Published
- Jul 17, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-73
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, resolveWritePath() in content/file/file.go uses a lexical filepath.Rel check for workingDir and does not account for symlink traversal, so when AllowPathTraversalOnWrite=false an attacker-controlled blob title through ocispec.AnnotationTitle such as out/pwn.txt can follow a workingDir symlink out -> /some/outside/dir and cause pushFile() to create /some/outside/dir/pwn.txt outside workingDir. This issue is fixed in version 2.6.1.
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.1 |
2.6.1 |
go get oras.land/oras-go/v2@v2.6.1 |
| Go | oras.land/oras-go/v2 |
< 2.6.1 |
2.6.1 |
go get oras.land/oras-go/v2@v2.6.1 |
Per OSV / GitHub Advisories (GHSA-8xwf-rjm4-xvhv, GO-2026-5879). 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 govulncheck-vulndb · SUSE · openSUSE-SU-2026:21551-1 · Aug 10, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23216-1 · Aug 10, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23227-1 · Aug 10, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:42241 · Aug 6, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:42230 · Aug 6, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.