CVE catalog

CVE-2026-85731

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 directo

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.68% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangolang-oras-oras-gosid2.6.2-2fixed
Debiangolang-oras-oras-goforky2.6.2-2fixed
Debiangolang-oras-oras-gotrixie2.5.0-1vulnerable
Debiangolang-oras-oras-gobookworm1.1.1-1vulnerable
Gooras.land/oras-go/v2Not reported2.6.2fixed
Susehelmlinux enterprise micro 5.53.22.0-150000.1.99.1fixed
Susehelmlinux enterprise module for containers 15 sp73.22.0-150000.1.99.1fixed
Susehelmlinux enterprise module for package hub 15 sp73.22.0-150000.1.99.1fixed
Susehelmlinux enterprise high performance computing 15 sp4-espos3.22.0-150000.1.99.1fixed
Susehelmlinux enterprise high performance computing 15 sp4-ltss3.22.0-150000.1.99.1fixed
Susehelmlinux enterprise high performance computing 15 sp5-espos3.22.0-150000.1.99.1fixed
Susehelmlinux enterprise high performance computing 15 sp5-ltss3.22.0-150000.1.99.1fixed
Susehelmlinux enterprise server 15 sp4-ltss3.22.0-150000.1.99.1fixed
Susehelmlinux enterprise server 15 sp5-ltss3.22.0-150000.1.99.1fixed
Susehelmlinux enterprise server 15 sp6-ltss3.22.0-150000.1.99.1fixed
Susehelmlinux enterprise server for sap applications 15 sp43.22.0-150000.1.99.1fixed
Susehelmlinux enterprise server for sap applications 15 sp53.22.0-150000.1.99.1fixed
Susehelmlinux enterprise server for sap applications 15 sp63.22.0-150000.1.99.1fixed
Opensusehelm3tumbleweed3.22.0-1.1fixed
Ubuntugolang-oras-oras-go24.041.1.1-1ubuntu1vulnerable
Ubuntugolang-oras-oras-go26.042.5.0-1vulnerable
Ubuntugolang-oras-oras-go26.042.6.0-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-oras-oras-gosourcesid2.6.2-1not yet assignedNot reportedNot reported
Debiangolang-oras-oras-gosourceforky2.6.2-1not yet assignedNot reportedNot reported
Debiangolang-oras-oras-gosourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiangolang-oras-oras-gosourcebookworm(unfixed)not yet assignedNot reportedNot reported
Gooras.land/oras-go/v2goNot reported2.6.2Not reportedGHSA-M37J-52J7-PJW7Not reported
Susehelmrpmlinux enterprise micro 5.53.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise module for containers 15 sp73.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise module for package hub 15 sp73.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise high performance computing 15 sp4-espos3.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise high performance computing 15 sp4-ltss3.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise high performance computing 15 sp5-espos3.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise high performance computing 15 sp5-ltss3.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise server 15 sp4-ltss3.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise server 15 sp5-ltss3.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise server 15 sp6-ltss3.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise server for sap applications 15 sp43.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise server for sap applications 15 sp53.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Susehelmrpmlinux enterprise server for sap applications 15 sp63.22.0-150000.1.99.1Not reportedSUSE-SU-2026:4417-1Not reported
Opensusehelm3rpmtumbleweed3.22.0-1.1Not reportedOPENSUSE-SU-2026:11832-1Not reported

Notes

[trixie] golang-oras-oras-go: Minor issue [bookworm] golang-oras-oras-go: Limited support, minor issue; v1.1.1 affected too, content/utils.go untar writes through symlink chains

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [golang-oras-oras-go]

    Details (2)
    • 1.1.1-1 · all · bookworm

      Affected

      nvd · golang-oras-oras-go · debian · bookworm; nvd · golang-oras-oras-go · debian · 12

    • 1.1.1-1 · all · bookworm

      Affected

      nvd · golang-oras-oras-go · debian · bookworm; nvd · golang-oras-oras-go · debian · 12

[Debian 13 (Trixie)]

  • Source package: [golang-oras-oras-go]

    Details (2)
    • 2.5.0-1 · all · trixie

      Affected

      nvd · golang-oras-oras-go · debian · 13

    • 2.5.0-1 · all · trixie

      Affected

      nvd · golang-oras-oras-go · debian · 13

[openSUSE Tumbleweed]

  • [helm3]Affected

    Source package: [helm3]

    Details (1)
    • 3.21.3-6.1 · x86_64 · tumbleweed

      Affected · Fixed: 3.22.0-1.1

      nvd · helm3 · opensuse · tumbleweed

  • Source package: [helm3]

    Details (1)
    • 3.21.3-6.1 · noarch · tumbleweed

      Unknown · Fixed: 3.22.0-1.1

      Version impact unknown

      nvd · helm3 · opensuse · tumbleweed

  • Source package: [helm3]

    Details (1)
    • 3.21.3-6.1 · noarch · tumbleweed

      Unknown · Fixed: 3.22.0-1.1

      Version impact unknown

      nvd · helm3 · opensuse · tumbleweed

  • Source package: [helm3]

    Details (1)
    • 3.21.3-6.1 · noarch · tumbleweed

      Unknown · Fixed: 3.22.0-1.1

      Version impact unknown

      nvd · helm3 · opensuse · tumbleweed

Observed:

References