This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-50163 →
Categories
DEBIAN-CVE-2026-50163

oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, ensureLinkPath in content/file/utils.go:262-275 validates a hardlink target relati...

Original description

The description as published by the source.

oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, ensureLinkPath in content/file/utils.go:262-275 validates a hardlink target relative to the extract base but returns the unresolved target, causing os.Link("victim.secret", "/payload.tar.gz/evil_cwd_link") to resolve header.Linkname against the process current working directory for a Typeflag=TypeLink entry such as Name=payload.tar.gz/evil_cwd_link and Linkname="victim.secret" with io.deis.oras.content.unpack: "true", which can expose or tamper with files such as .env, .git/config, .aws/credentials, and ~/.ssh/config. This issue is fixed in version 2.6.2.

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