SCA: security update for oras.land/oras-go/v2 (GHSA-fxhp-mv3v-67qp)

high Tenable Cloud Security Plugin ID 445682

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-50163)

Solution

Update the oras.land/oras-go/v2 library and its related packages to version 2.6.2 or later.

See Also

https://github.com/advisories/GHSA-fxhp-mv3v-67qp

Plugin Details

Severity: High

ID: 445682

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/5/2026

Updated: 8/5/2026

Risk Information

VPR

Risk Factor: Low

Score: 3.5

Percentile: 51.97

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:P/A:N

CVSS Score Source: CVE-2026-50163

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/1/2026

Vulnerability Publication Date: 7/1/2026

Reference Information

CVE: CVE-2026-50163