CVE-2026-85731: oras-project oras-go Path Traversal
Vulnerability summary
CVE-2026-85731 is a high (CVSS 8.8) Path Traversal vulnerability in oras-project oras-go. EPSS estimates a 0.68% chance of exploitation in the next 30 days, higher than 51.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 16-09-2026PublishedVulnerability first disclosed.
- 16-09-2026Last modifiedVulnerability information updated.
Description
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 metrics
6 scores · 6 sources · 1 version- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · GoEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.68%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
+0.01 pp
From 0.67% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-59Improper Link Resolution Before File Access ('Link Following')The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected systems
Chainguard153 products
- argo-cd-3.1All versions (No fix recorded)
- argo-cd-3.1-compatAll versions (No fix recorded)
- argo-cd-fips-3.1< 3.1.16-r14
- argo-cd-fips-3.1-compat< 3.1.16-r14 | All versions (No fix recorded)
- cert-manager-cmctl< 2.5.0-r19
Wolfi22 products
- cert-manager-cmctl< 2.5.0-r19
- cluster-api-helm-controller< 0.6.4-r20
- flux-helm-controller< 1.6.4-r3
- gatekeeper-3.21-gatorAll versions (No fix recorded)
- gitness< 3.3.0-r38
Debian1 product
- golang-oras-oras-goAll versions (No fix recorded) | < 2.6.2-1
Oras-project1 product
- oras-go< 2.6.2
Oras.land/oras-go1 product
- v2< 2.6.2
5 vendors · 178 products
References
7 links- github.com/oras-project/oras-go/security/advisories/GHSA-m37j-52j7-pjw7X Refsource CONFIRMAdvisoryWEB
- github.com/oras-project/oras-go/commit/adab2f25ea95ef4e6e41f50db9266a6701399422X Refsource MISCFIXWEB