Live threats

All CVEs / oras-project

CVE-2026-50163oras-project oras-go

High 7.1 No auth needed

Priority
58
CVSS 3.1
7.1
EPSS
—
Auth required
No
Published
Jul 17, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22, CWE-59
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for oras-go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go oras.land/oras-go/v2 < 2.6.2 2.6.2 go get oras.land/oras-go/v2@v2.6.2
Go oras.land/oras-go/v2 < 2.6.2 2.6.2 go get oras.land/oras-go/v2@v2.6.2

Per OSV / GitHub Advisories (GHSA-fxhp-mv3v-67qp, GO-2026-5880). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: SUSE (+8)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.