CVE-2026-50162
Last modified
CVE-2026-50162 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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. EPSS estimates a 0.51% chance of exploitation in the next 30 days.
Description
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.
Metrics
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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| oras-project | oras-go | < 2.6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-50162?
How severe is CVE-2026-50162?
How do I fix CVE-2026-50162?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50148Metabase is an open-source business intelligence and embedde…9.1
- CVE-2026-5015A vulnerability was determined in elecV2 elecV2P up to 3.8.3…4.3
- CVE-2026-50151oras-go is a Go library for managing OCI artifacts. Prior to…7.5
- CVE-2026-50159Mermaid is a JavaScript tool that uses Markdown-inspired tex…5.3
- CVE-2026-5016A vulnerability was identified in elecV2 elecV2P up to 3.8.3…7.3
- CVE-2026-50160Hoppscotch is an API development ecosystem. In self-hosted d…10
- CVE-2026-50163oras-go is a Go library for managing OCI artifacts. Prior to…7.1
- CVE-2026-50168Angular is a development platform for building mobile and de…8.2
- CVE-2026-50169Angular is a development platform for building mobile and de…6.1
- CVE-2026-5017A security flaw has been discovered in code-projects Simple …9.8
- CVE-2026-50170Angular is a development platform for building mobile and de…7.5
- CVE-2026-50171Angular is a development platform for building mobile and de…6.1
Are you affected by CVE-2026-50162?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
