Echo: oras.land/oras-go/v2: security update to 2.6.2-1

high Tenable Self-Hosted Container Security Plugin ID 462602

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, content/file.Store extraction of OCI
layers marked with io.deis.oras.content.unpack=true can write outside the store working directory. The
pushDir path through extractTarDirectory and ensureLinkPath validates symlink targets lexically,
resolveRelToBase skips its parent-symlink walk for root-level entries, and writeFile follows a terminal
symlink when opening a regular file. A malicious archive can therefore create a symlink chain whose
lexical target remains inside the extraction root but whose resolved target is an attacker-selected
absolute path, then overwrite that target with a same-named regular-file entry even when
AllowPathTraversalOnWrite is false. Pulling an attacker-controlled artifact can create or overwrite any
file writable by the process and may lead to code execution. This issue is fixed in version 2.6.2.
(CVE-2026-85731)

Solution

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

See Also

https://advisory.echohq.com/cve/CVE-2026-85731

Plugin Details

Severity: High

ID: 462602

Version: Revision 1.1

Type: Local

Published: 10/2/2026

Updated: 10/3/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.38

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-85731

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/28/2026

Vulnerability Publication Date: 9/16/2026

Reference Information

CVE: CVE-2026-85731