Skip to content
OpenAdvisories

Description

oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, content/file.Store extraction of OCI layers marked with io.deis.oras.content.unpack=true can write outside the store working directory. The pushDir path through extractTarDirectory and ensureLinkPath validates symlink targets lexically, resolveRelToBase skips its parent-symlink walk for root-level entries, and writeFile follows a terminal symlink when opening a regular file. A malicious archive can therefore create a symlink chain whose lexical target remains inside the extraction root but whose resolved target is an attacker-selected absolute path, then overwrite that target with a same-named regular-file entry even when AllowPathTraversalOnWrite is false. Pulling an attacker-controlled artifact can create or overwrite any file writable by the process and may lead to code execution. This issue is fixed in version 2.6.2.

Affected products

VendorProductAffectedFixed
oras-project oras-go < 2.6.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-oras-oras-go 2.6.2-1 —
Debian 13 golang-oras-oras-go No fix yet —
Debian 12 golang-oras-oras-go No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS golang-oras-oras-go No fix yet —
Ubuntu 24.04 LTS golang-oras-oras-go No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 helm 3.22.0-150000.1.99.1 SUSE-SU-2026:4417-1
SLES 15 SP6 helm 3.22.0-150000.1.99.1 SUSE-SU-2026:4417-1
SLES 15 SP5 helm 3.22.0-150000.1.99.1 SUSE-SU-2026:4417-1
SLES 15 SP4 helm 3.22.0-150000.1.99.1 SUSE-SU-2026:4417-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 helm 3.22.0-150000.1.99.1 SUSE-SU-2026:4417-1
SLES for SAP 15 SP5 helm 3.22.0-150000.1.99.1 SUSE-SU-2026:4417-1
SLES for SAP 15 SP4 helm 3.22.0-150000.1.99.1 SUSE-SU-2026:4417-1
SLE Micro 5.5 helm 3.22.0-150000.1.99.1 SUSE-SU-2026:4417-1
SLE HPC 15 SP5 helm 3.22.0-150000.1.99.1 SUSE-SU-2026:4417-1
SLE HPC 15 SP4 helm 3.22.0-150000.1.99.1 SUSE-SU-2026:4417-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed helm3 3.22.0-1.1 openSUSE-SU-2026:11832-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling cert-manager-cmctl 2.5.0-r19 —
Wolfi rolling cluster-api-helm-controller 0.6.4-r20 —
Wolfi rolling flux-helm-controller 1.6.4-r3 —
Wolfi rolling gitness 3.3.0-r38 —
Wolfi rolling helm-mapkubeapis 0.6.1-r33 —
Wolfi rolling helm-push 0.11.1-r28 —
Wolfi rolling helm-set-status 0.3.0-r33 —
Wolfi rolling k8sgpt 0.4.39-r1 —
Wolfi rolling k9s 0.51.0-r20 —
Wolfi rolling kargo-1.10 1.10.12-r3 —
Wolfi rolling kube-arangodb-1.4 1.4.5-r4 —
Wolfi rolling kyverno-notation-aws 1.1-r80 —
Wolfi rolling manifest-tool 2.2.2-r16 —
Wolfi rolling maru 0.6.0-r25 —
Wolfi rolling opentofu-1.11 No fix yet —
Wolfi rolling opentofu-1.12 1.12.6-r7 —
Wolfi rolling rancher-helm-3 3.20.0-r28 —
Wolfi rolling xeol 0.10.8-r62 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go oras.land/oras-go/v2 < 2.6.2 2.6.2 GHSA-m37j-52j7-pjw7

Advisories 2

References