7.1

CVE-2026-50163: oras-go: Hardlink entry with relative Linkname escapes extract dir via process CWD resolution in `oras-go` tar extraction

Deferred
AliasesUBUNTU-CVE-2026-50163DEBIAN-CVE-2026-50163CGA-22x3-2vw6-prc5
Published 17-07-2026Last modified 20-07-2026

Vulnerability summary

CVE-2026-50163 is a high (CVSS 7.1) vulnerability in oras-project oras-go. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 34.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.40%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 11

Timeline

  1. 17-07-2026
    PublishedVulnerability first disclosed.
  2. 20-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

Increase +0.06 pp

From 0.35% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard200 products
  • argo-cd-3.0All versions (No fix recorded)
  • argo-cd-3.0-compatAll versions (No fix recorded)
  • argo-cd-3.1All versions (No fix recorded)
  • argo-cd-3.1-compatAll versions (No fix recorded)
  • argo-cd-3.2< 3.2.12-r8

1 vendor · 200 products · Showing 200 of 453

References

12 links
Show all 12 references