> CVE-2026-85731 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-09-16 17:18
MODIFIED
2026-09-16 17:18
CVSS_SCORE V3
8.8
EPSS (Prob. Exploit)
0.68%
Top 48.3%
DATA SOURCES:
NVD đź”— 2026-09-16 CWE MITRE đź”— 2026-10-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-15 OSV đź”— 2026-09-22

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

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EXPLOITABILITY
2.8
IMPACT
5.9

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-22 CWE-59

> CWE DETAILED DESCRIPTIONS

CWE-22: Improper 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-59: Improper 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.

> GITHUB SECURITY ADVISORY

GHSA-m37j-52j7-pjw7 HIGH

oras-go: Arbitrary file write outside file.Store root via symlink-chain bypass in tar extraction (pushDir)

AFFECTED PACKAGES:
GO / oras.land/oras-go/v2
<= 2.6.1
Fixed in: 2.6.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

oras-go: Arbitrary file write outside file.Store root via symlink-chain bypass in tar extraction (pushDir)

AFFECTED PACKAGES:
Unknown / Unknown
22 versions affected
ALIASES:
GHSA-m37j-52j7-pjw7

> HISTORIQUE DES MODIFICATIONS

Première apparition
16/09/2026 17:18
Source: NVD
📊 ENRICHISSEMENT 01/10/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-22: Improper 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 i...
Total des modifications: 1 Dernière mise à jour: 3 weeks ago

> REFERENCES

https://github.com/oras-project/oras-go/commit/adab2f25ea95ef4e6e41f50db9266a670...
https://github.com/oras-project/oras-go/releases/tag/v2.6.2
https://github.com/oras-project/oras-go/security/advisories/GHSA-m37j-52j7-pjw7
« BACK_TO_HOME