Skip to main content
HIGH

CVE-2026-50163

CVSS v3

7.1

HIGH

EPSS Score

0.3 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for oras.land/oras-go.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • oras.land/oras-go/v2Goall versions · fixed in 2.6.2

Vendor advisories

  • CVE-2026-50163 Red Hat Product Security8 products fixed · 31 known affected

    oras-go: Oras-go: Information disclosure and arbitrary file access via crafted tarball hardlinks

    gatekeeper/gatekeeper-rhel9 as a component of Gatekeeper 3 · multicluster-globalhub/multicluster-globalhub-grafana-rhel9 as a component of Multicluster Global Hub · openshift-service-mesh/istio-rhel9-operator as a component of OpenShift Service Mesh 3

  • RHSA-2026:48913 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: RHACS 4.10.6 security and bug fix update

  • RHSA-2026:48872 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: RHACS 4.9.10 security and bug fix update

Full record on NVD

Description

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Published
2026-07-17
Last Modified
2026-07-17

Frequently asked questions

What is 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 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.

Is CVE-2026-50163 actively exploited?

Active exploitation of CVE-2026-50163 has not been confirmed. Its EPSS score was 0.3% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-50163?

CVE-2026-50163 has a CVSS v3 base score of 7.1 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N.

Running oras.land/oras-go? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month