---
cve: "CVE-2026-50162"
severity: "MEDIUM"
cvss: 6.9
epss: "37%"
vendor: "oras-project"
kev: false
exploited: false
published: "2026-07-17 20:17:23"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-08T16:20:32+02:00"
---

# CVE-2026-50162

> 6.9 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

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

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- cc323e564d90c6b5b4bdd71d3c8d2ee2713b37e5 (Commit)
- 47b7c804cb38a4af659ec735e473d3854c63a3c0 (Commit)

## Referenzen

- <https://github.com/oras-project/oras-go/security/advisories/GHSA-8xwf-rjm4-xvhv>
- <https://github.com/oras-project/oras-go/commit/cc323e564d90c6b5b4bdd71d3c8d2ee2713b37e5>
- <https://github.com/oras-project/oras-go/releases/tag/v2.6.1>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-50162) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
