DEBIAN-CVE-2026-85731

Source
https://security-tracker.debian.org/tracker/CVE-2026-85731
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85731.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-85731
Upstream
Published
2026-09-16T17:18:15Z
Modified
2026-09-19T08:00:07Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, content/file.Store extraction of OCI layers marked with io.deis.oras.content.unpack=true can write outside the store working directory. The pushDir path through extractTarDirectory and ensureLinkPath validates symlink targets lexically, resolveRelToBase skips its parent-symlink walk for root-level entries, and writeFile follows a terminal symlink when opening a regular file. A malicious archive can therefore create a symlink chain whose lexical target remains inside the extraction root but whose resolved target is an attacker-selected absolute path, then overwrite that target with a same-named regular-file entry even when AllowPathTraversalOnWrite is false. Pulling an attacker-controlled artifact can create or overwrite any file writable by the process and may lead to code execution. This issue is fixed in version 2.6.2.

References

Affected packages

Debian:12 / golang-oras-oras-go

Package

Name
golang-oras-oras-go
Purl
pkg:deb/debian/golang-oras-oras-go?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.1.1-1
2.*
2.5.0-1
2.6.0-1
2.6.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85731.json"

Debian:13 / golang-oras-oras-go

Package

Name
golang-oras-oras-go
Purl
pkg:deb/debian/golang-oras-oras-go?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.5.0-1
2.6.0-1
2.6.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85731.json"

Debian:14 / golang-oras-oras-go

Package

Name
golang-oras-oras-go
Purl
pkg:deb/debian/golang-oras-oras-go?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.6.2-1

Affected versions

2.*
2.5.0-1
2.6.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-85731.json"