NONE · 0

CVE-2026-50162

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 travers...

Vulnerability 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.

Related Weaknesses (CWE)

References

FAQ

What is CVE-2026-50162?

CVE-2026-50162 is a documented vulnerability. 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 travers...

How severe is CVE-2026-50162?

CVSS scoring is not yet available for CVE-2026-50162. Check NVD for updates.

Is there a patch for CVE-2026-50162?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.