DEBIAN-CVE-2026-50162
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.
DEBIAN-CVE-2026-50162
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-50162
golang-oras-oras-go
Source reference: /affected/0/package/name
- Affected versions
- 1.1.1-1
Source reference:
/affected/0/versions2.5.0-1Source reference:
/affected/0/versions2.6.0-1Source reference:
/affected/0/versions2.6.2-1Source reference:
/affected/0/versions2.6.2-2Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
golang-oras-oras-go
Source reference: /affected/1/package/name
- Affected versions
- 2.5.0-1
Source reference:
/affected/1/versions2.6.0-1Source reference:
/affected/1/versions2.6.2-1Source reference:
/affected/1/versions2.6.2-2Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
golang-oras-oras-go
Source reference: /affected/2/package/name
- Affected versions
- 2.5.0-1
Source reference:
/affected/2/versions2.6.0-1Source reference:
/affected/2/versions - Fixed versions
- 2.6.2-1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-oras-oras-go",
"purl": "pkg:deb/debian/golang-oras-oras-go?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.1.1-1",
"2.5.0-1",
"2.6.0-1",
"2.6.2-1",
"2.6.2-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50162.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-oras-oras-go",
"purl": "pkg:deb/debian/golang-oras-oras-go?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2.5.0-1",
"2.6.0-1",
"2.6.2-1",
"2.6.2-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50162.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.2-1"
}
]
}
],
"package": {
"name": "golang-oras-oras-go",
"purl": "pkg:deb/debian/golang-oras-oras-go?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2.5.0-1",
"2.6.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-50162.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #57262 · Revision 1
- Added to Heist Feed
- Publisher date