CVE-2026-50162

  • Severity 6.9 MEDIUM
  • Published
  • Updated
  • Status Deferred
  • EUVD EUVD-2026-45262
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.9 MEDIUM
NETWORK
LOW
NONE
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
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 4.0
EPSS Score
Percentile: 39.76%
Debian logo
Debian Releases
Debian Product
Codename
golang-oras-oras-go
bookworm
postponed
forky
2.6.2-2
fixed
sid
2.6.2-2
fixed
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
golang-oras-oras-go
jammy
dne
noble
needs-triage
resolute
needs-triage
stonking
needs-triage