SEPTEMBER 8, 2026
Live Feed
Back to database
Case File

CVE-2026-50162

MEDIUM · CVSS 6.9 EPSS 0.36% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-07-17 · Last synced 2026-08-16

CyberRota Analysis

AI-Generated

The oras-go library prior to version 2.6.1 is vulnerable to a path traversal attack due to improper handling of symlink traversal in the resolveWritePath() function. This flaw allows an attacker to manipulate blob titles to write files outside the intended working directory, potentially leading to unauthorized file creation in sensitive locations. Organizations using affected versions of oras-go should prioritize upgrading to version 2.6.1 to mitigate this security risk.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-50162
Severity
MEDIUM
CVSS
6.9
EPSS
0.36%

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