๐Ÿ” CVE Alert

CVE-2026-50162

UNKNOWN 0.0

oras-go: file store write outside workingDir via symlink traversal

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-73
Vendor oras-project
Product oras-go
Published Jul 17, 2026
Stay Ahead of the Next One

Get instant alerts for oras-project oras-go

Be the first to know when new unknown vulnerabilities affecting oras-project oras-go are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

oras-project / oras-go
< 2.6.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/oras-project/oras-go/security/advisories/GHSA-8xwf-rjm4-xvhv github.com: https://github.com/oras-project/oras-go/commit/cc323e564d90c6b5b4bdd71d3c8d2ee2713b37e5 github.com: https://github.com/oras-project/oras-go/releases/tag/v2.6.1