Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious OCI artifact to registry
-
DeliveryVictim pulls artifact via oras-go file Store
-
ExploitUnpack layer plants symlink chain escaping root
-
ExecutionSame-named regular file written through symlink
-
PersistOverwrite attacker-chosen file outside store
-
ImpactCode execution as pulling process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to pull an attacker-controlled OCI artifact into a content/file.Store, and the malicious layer must be marked with the annotation io.deis.oras.content.unpack=true so oras-go extracts (unpacks) the tar rather than storing it opaquely. The bug bypasses the AllowPathTraversalOnWrite=false default, so no permissive configuration is needed; the escape works via a symlink chain whose lexical target stays inside the extraction root but whose kernel-resolved target is an absolute path outside it. Limiting factors: the attacker must get the victim to pull a crafted reference (UI:R - user-initiated pull of an attacker-controlled artifact), overwrite is confined to files writable by the pulling process's UID, and only unpack-annotated layers trigger the vulnerable extractTarDirectory/ensureLinkPath/writeFile path. Symlink semantics make this primarily a Unix-relevant issue (fix and repro are in file_unix_test.go). |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 8.8 High) is internally consistent with the technical facts: a consumer pulls an attacker-controlled OCI artifact (network delivery, low complexity, no attacker authentication), the only gate being the user-interaction of initiating a pull of a malicious reference. The symlink-chain tar-slip lets a crafted archive create or overwrite ANY file writable by the pulling process even with AllowPathTraversalOnWrite=false, so arbitrary file overwrite plausibly escalates to code execution - supporting C:H/I:H/A:H. No EPSS score, KEV entry, or standalone weaponized exploit is present in the input, so there is no evidence of active or widespread exploitation; however, the public fix commit (adab2f25) ships a full reproduction test (TestStore_Dir_SymlinkChainEscape) that plants the symlink chain and writes outside the working directory, which is effectively a working proof-of-concept. Net: this is a genuine high-priority supply-chain-flavored library bug (real RCE-capable path traversal, patch available), but real-world risk is bounded by requiring the victim to pull an attacker-controlled artifact rather than being remotely reachable - treat as priority patching for anything embedding oras-go < 2.6.2, not as an under-active-attack emergency. |
| Exploit ScenarioDerived | An attacker publishes a malicious OCI artifact to a registry (or compromises/typosquats an existing reference) containing an unpack layer (io.deis.oras.content.unpack=true) whose tar entries build a symlink chain that resolves outside the extraction root, followed by a same-named regular-file entry that writes through the link. When a victim application or CI pipeline using oras-go pulls that artifact into a content/file.Store, oras-go overwrites an attacker-chosen absolute path (e.g. a shell profile, cron file, or binary) with attacker content, leading to code execution as the pulling process. A public reproduction test demonstrating the escape exists in the fix commit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Path traversal and arbitrary file write in the oras-go OCI artifact library prior to 2.6.2 allow a malicious artifact layer marked with the io.deis.oras.content.unpack=true annotation to escape the content/file.Store extraction root and create or overwrite any file writable by the pulling process, potentially leading to code execution. Exploitation is unauthenticated from an attacker's network position (CVSS:3.1/AV:N/AC:L/PR:N) but requires user interaction (UI:R) because the victim must pull the attacker-controlled artifact reference; the bug bypasses the AllowPathTraversalOnWrite=false default, so no permissive configuration is needed. Scored 8.8 High, with no public exploit identified at time of analysis and no CISA KEV listing; a vendor patch is available in oras-go 2.6.2.
RemediationAI
Vendor-released patch: upgrade oras-go to version 2.6.2, which is the exact fixed release referenced by the advisory; the corresponding upstream commit (adab2f25ea95ef4e6e41f50db9266a6701399422) adds symlink-resolved containment checks in extractTarDirectory and removes terminal symlinks in ensureLinkPath before writing. Downstream consumers should update their go.mod dependency to v2.6.2 (or later) and rebuild any binaries that vendor oras-go. If an immediate upgrade is not possible, avoid pulling OCI artifacts from untrusted or unverified sources, and in particular reject or strip layers annotated io.deis.oras.content.unpack=true before extraction, since non-unpacked layers are stored opaquely and do not traverse the vulnerable code path; note that this trade-off blocks legitimate unpack workflows. Additionally, run pulls under a dedicated unprivileged account so that any successful write is confined to files writable by that UID, and treat unpack-annotated artifacts from external parties as untrusted input. See https://github.com/oras-project/oras-go/security/advisories/GHSA-m37j-52j7-pjw7 and https://github.com/oras-project/oras-go/releases/tag/v2.6.2 for details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
oras-go is a Go client library for pushing and pulling OCI artifacts. The vulnerable path is content/file.Store extraction of layers annotated io.deis.oras.content.unpack=true, which routes a tar layer through extractTarDirectory, ensureLinkPath, and writeFile (CWE-22, improper limitation of a pathname to a restricted directory). The root cause is that path containment is validated lexically rather than after full symlink resolution: resolveRelToBase skips its parent-symlink walk for root-level entries, so a chain of symlinks planted by earlier archive entries can have a lexical target that remains inside the extraction root while its kernel-resolved target is an attacker-chosen absolute path outside it. The archive then supplies a regular-file entry with the same name, and writeFile follows the terminal symlink when calling os.OpenFile, writing attacker content through the link even when AllowPathTraversalOnWrite is false. The upstream fix adds a checkSymlinkEscape containment re-verification on the extractTarDirectory path and removes any pre-existing terminal symlink in ensureLinkPath before writing, mirroring the stricter validation already used on the pushFile path. Symlink semantics make this a Unix-oriented issue, as reflected by the fix and regression test living in file_unix_test.go.
Know when Oras Go gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Malicious artifact is delivered over the network and processed on pull (AV:N, UI:R, PR:N); arbitrary file overwrite as the process is RCE-capable, giving C:H/I:H/A:H with no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-22 (path traversal), with CWE-59 (link following) as the enabling mechanism.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
oras-go, the OCI artifact library embedded in container and artifact-pulling tooling throughout our build and deployment pipelines, contains a path traversal flaw (CVE-2026-85731) that allows a malicious artifact to overwrite arbitrary files on any host that pulls it, potentially leading to code execution. The attack is unauthenticated from the attacker's network position and requires only that an engineer or automated pipeline pull an attacker-controlled artifact reference, so any team consuming third-party OCI artifacts is exposed. Leadership should treat this as a software supply-chain integrity risk affecting developer workstations and CI/CD runners rather than a network-perimeter issue.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Same weakness CWE-22 – Path Traversal
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Micro 5.5 | Not-Affected |
| SUSE Linux Enterprise Module for Containers 15 SP7 | Not-Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP7 | Not-Affected |
| SUSE Linux Enterprise Server 16.0 | Not-Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Micro 6.0 | Not-Affected |
| SUSE Linux Micro 6.1 | Not-Affected |
| SUSE Linux Micro 6.2 | Not-Affected |
| openSUSE Leap 16.0 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Not-Affected |
| SUSE Linux Enterprise Module for Containers 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Module for Containers 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Module for Containers 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Not-Affected |
| SUSE Enterprise Storage 7.1 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Not-Affected |
| SUSE Linux Enterprise Module for Containers 15 SP3 | Not-Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP3 | Not-Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP3 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Not-Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Not-Affected |
| SUSE Manager Proxy 4.2 | Not-Affected |
| SUSE Manager Proxy 4.3 | Not-Affected |
| SUSE Manager Retail Branch Server 4.2 | Not-Affected |
| SUSE Manager Retail Branch Server 4.3 | Not-Affected |
| SUSE Manager Server 4.2 | Not-Affected |
| SUSE Manager Server 4.3 | Not-Affected |
| openSUSE Leap 15.3 | Not-Affected |
| openSUSE Leap 15.4 | Not-Affected |
| openSUSE Leap 15.5 | Not-Affected |
| openSUSE Leap 15.6 | Not-Affected |
| openSUSE Leap Micro 5.5 | Not-Affected |
| suse/helm:4 | Affected |
| suse/helm suse/kubectl suse/kubectl:1.35 | Not-Affected |
EUVD-2026-80873
GHSA-m37j-52j7-pjw7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB