This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-50162 →
Categories
DEBIAN-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 w...

Original description

The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

Affected packages

Debian:12 golang-oras-oras-go
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:13 golang-oras-oras-go
[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]
Debian:14 golang-oras-oras-go
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-1"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details