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

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.

Published: 2026-07-17 Last update: 2026-07-20 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-50163 is rated Moderate Risk (40.6/100): CVSS High severity, with low exploitation likelihood (EPSS 0.43%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-50163

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-07-18 0.43%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-50163

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.1 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 4.2 [email protected]

Weakness enumeration for CVE-2026-50163

GitHub Security Advisory for CVE-2026-50163

GHSA-fxhp-mv3v-67qp · Severity: high · Ecosystem: go — `oras-go` tar extraction: Hardlink entry with relative Linkname escapes extract dir via process CWD resolution

OS Trackers for CVE-2026-50163

vendor priority summary link
debian not yet assigned CVE-2026-50163 not yet assigned priority: Debian including 1 source packages (golang-oras-oras-go), 4 status rows across 4 suites (bookworm, forky, sid, trixie): open 4. https://security-tracker.debian.org/tracker/CVE-2026-50163
suse high https://www.suse.com/security/cve/CVE-2026-50163/
ubuntu medium CVE-2026-50163 medium priority: Ubuntu including 1 source packages (golang-oras-oras-go), 4 status rows across 4 suites (jammy, noble, resolute, upstream): needs-triage 3, DNE 1. https://ubuntu.com/security/CVE-2026-50163

Affected software / configurations for CVE-2026-50163

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2026-50163

cvelogic Threat Intelligence