> CVE-2026-50162 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-17 20:17
MODIFIED
2026-07-17 20:17
CVSS_SCORE V3
6.9
EPSS (Prob. Exploit)
0.51%
Top 57.6%
DATA SOURCES:
NVD đź”— 2026-07-17 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29 OSV đź”— 2026-07-23

> DESCRIPTION

oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, resolveWritePath() in content/file/file.go uses a lexical filepath.Rel check for workingDir and does not account for symlink traversal, so when AllowPathTraversalOnWrite=false an attacker-controlled blob title through ocispec.AnnotationTitle such as out/pwn.txt can follow a workingDir symlink out -> /some/outside/dir and cause pushFile() to create /some/outside/dir/pwn.txt outside workingDir. This issue is fixed in version 2.6.1.

> AFFECTED_PRODUCTS

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

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-73

> CWE DETAILED DESCRIPTIONS

CWE-73: External Control of File Name or Path - The product allows user input to control or influence paths or file names that are used in filesystem operations.

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: Red Hat OpenShift GitOps v1.20.8 security update
Important: Red Hat OpenShift GitOps v1.20.8 security update
Red Hat Security Advisory: Red Hat OpenShift GitOps v1.21.5 security update
Important: Red Hat OpenShift GitOps v1.21.5 security update
Red Hat Security Advisory: OpenShift Security Profiles Operator bug fix and enhancement update
An updated OpenShift Security Profiles Operator image that fixes various bugs and adds new enhancements is now available for the Red Hat OpenShift Enterprise 4 catalog.
Red Hat Security Advisory: MTV RHEL9 Images
Updated Release packages that fix several bugs and add various enhancements are now available.
Red Hat Security Advisory: MTV RHEL9 Images
Updated Release packages that fix several bugs and add various enhancements are now available.
Red Hat Security Advisory: RHOAI 3.4.5 - Red Hat OpenShift AI
Updated images are now available for Red Hat OpenShift AI.

> GITHUB SECURITY ADVISORY

GHSA-8xwf-rjm4-xvhv MODERATE

oras-go has file store write outside workingDir via symlink traversal

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

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

oras-go: file store write outside workingDir via symlink traversal

AFFECTED PACKAGES:
Unknown / Unknown
21 versions affected
ALIASES:
GHSA-8xwf-rjm4-xvhv

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/07/2026 20:17
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-73: External Control of File Name or Path - The product allows user input to control or influence paths or file names that are used in filesystem operations.
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/oras-project/oras-go/commit/cc323e564d90c6b5b4bdd71d3c8d2ee27...
https://github.com/oras-project/oras-go/releases/tag/v2.6.1
https://github.com/oras-project/oras-go/security/advisories/GHSA-8xwf-rjm4-xvhv
« BACK_TO_HOME