CVE-2026-50162
Beschrijving NL
oras-go is een Go-bibliotheek voor het beheren van OCI-artefacten. Voorafgaand aan 2.6.1 gebruikt resolveWritePath () in content/file/file.go een lexicaal bestandspad.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. Dit probleem is opgelost in versie 2.6.1.
Origineel (Engels) tonen
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.