Directory Traversal Affecting commercial-kyverno-1.17 package, versions <1.17.2-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.68% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-COMMERCIALKYVERNO117-20320504
  • published30 Sept 2026
  • disclosed16 Sept 2026

Introduced: 16 Sep 2026

CVE-2026-85731  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Chainguard commercial-kyverno-1.17 to version 1.17.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream commercial-kyverno-1.17 package and not the commercial-kyverno-1.17 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1