VDB

CVE-2026-85731

CVE-2026-85731 PUBLISHED CVSS 8.8 HIGH

Reported by github_m · Published September 16, 2026

oras.land/oras-go/v2 is fixed in 2.6.2 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
oras.land/oras-go/v2Go Modules2.6.2
xeol-fipsChainguard0.10.8-r59
consul-k8s-1.5Chainguard1.5.9-r45
redpanda-operator-26.2Chainguard26.2.3-r2
gitnessChainguard3.3.0-r38
opentofu-1.12Chainguard1.12.6-r7
kyverno-fips-1.16Chainguard1.16.4-r28
consul-k8s-fips-1.1Chainguard1.1.18-r51
consul-k8s-1.6Chainguard1.6.10-r38
envoy-gateway-fips-1.7Chainguard1.7.5-r34
xeolWolfi0.10.8-r62
cloudbeat-9.2Chainguard9.2.8-r29

59 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
oras-projectoras-go< 2.6.2
chainguardxeol-fips0
chainguardconsul-k8s-1.50
chainguardrancher-agent-2.11*
chainguardredpanda-operator-26.20
chainguardgitness0
chainguardopentofu-1.120
chainguardkyverno-fips-1.160
chainguardconsul-k8s-fips-1.10
chainguardconsul-k8s-1.60
chainguardenvoy-gateway-fips-1.70
wolfixeol0
chainguardcloudbeat-9.20
chainguardcloudbeat-fips-9.30
chainguardocm-cli0
chainguardredpanda-operator-26.10
chainguardocm-cli-fips0
chainguardkyverno-1.150
chainguardhelm-mapkubeapis0
wolfik9s0

…and 74 more

Timeline

  • Sep 16, 2026 Coalition ESS Score
  • Sep 16, 2026 CVE Published
  • Sep 16, 2026 CVE Updated
  • Sep 17, 2026 EPSS Score (20 in total, the first dated here)
  • Oct 31, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-85731
vulnetix vdb fixes CVE-2026-85731

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-85731/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›