# CVE-2026-85731: golang-oras-oras-go: oras-go is a Go library for managing OCI artifacts

CVE-2026-85731 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-85731, released September 19, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-85731
- Priority: High
- CVSS: 8.8 (high)
- EPSS: 0.0068
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 16, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | golang-oras-oras-go Debian 14 | 2.6.2-1 | [DEBIAN-CVE-2026-85731](https://patchblox.com/security/data/fix/linux/debian-cve-2026-85731.md) | Sep 19, 2026 |
| Linux | helm sles 15.6 | 3.22.0-150000.1.99.1 | [SUSE-SU-2026:4417-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4417-1.md) | Oct 2, 2026 |
| Linux | helm sles 15.7 | 3.22.0-150000.1.99.1 | [SUSE-SU-2026:4417-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-4417-1.md) | Oct 2, 2026 |

---

Data as of 2026-11-09T19:38:12Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
