---
title: "oras.land/oras-go/v2 — CVE-2026-85731"
description: "A path traversal flaw affects the Go package oras.land/oras-go/v2. Affected versions: <= 2.6.1. Fixed from version 2.6.2. CVSS score 8.8."
canonical: https://inyourgeek.com/en/failles-de-securite/2026-09-17-cve-2026-85731
type: faille-de-securite
author: "Sébastien Soulier"
publisher: "InYourGeek"
language: en
datePublished: 2026-09-17
dateModified: 2026-09-17
---
# oras.land/oras-go/v2 — CVE-2026-85731

A path traversal flaw affects the Go package oras.land/oras-go/v2. Affected versions: <= 2.6.1. Fixed from version 2.6.2. CVSS score 8.8.

## What to do

Update oras.land/oras-go/v2 to 2.6.2 or later.

| Fact | Value |
| --- | --- |
| Package | oras.land/oras-go/v2 |
| Ecosystem | Go modules |
| Class | Path traversal |
| Affected versions | <= 2.6.1 |
| Fixed version | 2.6.2 |
| CVSS | 8.8 |
| CVE | CVE-2026-85731 |
| GHSA | GHSA-m37j-52j7-pjw7 |
| Published on | September 17, 2026 |
| Severity | High |

## Sources

- [GitHub Security Advisory — GHSA-m37j-52j7-pjw7](https://github.com/advisories/GHSA-m37j-52j7-pjw7) — GitHub Security Advisories
- [NVD — CVE-2026-85731](https://nvd.nist.gov/vuln/detail/CVE-2026-85731) — NVD

---

Equivalent HTML page : https://inyourgeek.com/en/failles-de-securite/2026-09-17-cve-2026-85731
Published by InYourGeek — https://inyourgeek.com/en/a-propos
Method and safeguards : https://inyourgeek.com/en/methode
Full register : https://inyourgeek.com/en/failles-de-securite
