CVE catalog

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 relative to the extract base but returns the unresolved

[CVE catalog]

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

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", "<extract_base>/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.

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
Cpegolang-oras-oras-goNot reportedNot reportedvulnerable
Opensusehelmtumbleweed4.2.4-1.1fixed
Opensuseorastumbleweed1.3.3-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangolang-oras-oras-gosourcesid2.6.2-1not yet assignedNot reported[1142456]
Debiangolang-oras-oras-gosourceforky2.6.2-1not yet assignedNot reported[1142456]
Debiangolang-oras-oras-gosourcetrixie(unfixed)not yet assignedNot reported[1142456]
Debiangolang-oras-oras-gosourcebookworm(unfixed)not yet assignedNot reported[1142456]
Opensusehelmrpmtumbleweed4.2.4-1.1Not reportedOPENSUSE-SU-2026:11575-1Not reported
Opensuseorasrpmtumbleweed1.3.3-2.1Not reportedOPENSUSE-SU-2026:11297-1Not reported

[Debian bug #1142456]

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 os.Link()s the unresolved Linkname

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]

  • Source package: [helm]

    Details (1)
    • 4.2.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 4.2.4-1.1

      Version impact unknown

      nvd · helm · opensuse · tumbleweed

  • Source package: [helm]

    Details (1)
    • 4.2.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 4.2.4-1.1

      Version impact unknown

      nvd · helm · opensuse · tumbleweed

  • Source package: [helm]

    Details (1)
    • 4.2.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 4.2.4-1.1

      Version impact unknown

      nvd · helm · opensuse · tumbleweed

  • Source package: [oras]

    Details (1)
    • 1.3.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.3.3-2.1

      Version impact unknown

      nvd · oras · opensuse · tumbleweed

  • Source package: [oras]

    Details (1)
    • 1.3.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.3.3-2.1

      Version impact unknown

      nvd · oras · opensuse · tumbleweed

  • Source package: [oras]

    Details (1)
    • 1.3.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 1.3.3-2.1

      Version impact unknown

      nvd · oras · opensuse · tumbleweed

  • [helm]Fixed

    Source package: [helm]

    Details (1)
    • 4.2.4-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 4.2.4-1.1

      nvd · helm · opensuse · tumbleweed

  • [oras]Fixed

    Source package: [oras]

    Details (1)
    • 1.3.4-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.3.3-2.1

      nvd · oras · opensuse · tumbleweed

Observed:

References