CVE-2026-50162CWE-73

CVE-2026-50162

published July 18, 2026

CVSS
6.9
EPSS
1%
Percentile
42.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
6.9 · NONE
CVSS v4.0
Not supplied
EPSS
0.00507 · 42.4th percentile
Weakness
CWE-73 · External Control of File Name or Path
Published
2026-07-18T00:17Z
References (4)
EPSS history
Timeline
  • 17 JUL 19:39Z
    oras-go: file store write outside workingDir via symlink traversal
    cvelistv5