Approved changes feed: RSS · Atom

cpe:2.3:a:oras-project:oras-go:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorOras Project (562fef75-698b-5e14-b77e-5724666635b2)
ProductOras Go (f7b6e2df-d4f8-5f00-a921-884f3ef9c09a)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-85731 vulnerable 2026-10-13 12:28:54.119624 oras-go: Arbitrary file write outside file.Store root via symlink-chain bypass in tar extraction (pushDir)
HIGH (8.8)
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.
Published: 2026-09-16T16:24:48.905Z
Updated: 2026-09-16T17:25:07.159Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-85732 vulnerable 2026-10-13 12:28:53.960140 oras-go: Blind SSRF via unvalidated Link header URL in pagination allows internal network probing
MEDIUM (4.7)
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, the parseLink function in registry/remote/utils.go accepts an absolute URL from a registry-controlled Link response header without validating its scheme, host, or port. Tags, Referrers, and Repositories pagination operations then issue a GET request to the attacker-selected URL from the victim's network, allowing blind server-side request forgery against internal services. The response body is not returned to the attacker, but timing and error differences can reveal service reachability, and credentials may be attached when the credential store has an entry for the target host. Exploitation requires a victim to perform a pagination-based listing operation against a malicious registry. The maintainer identifies this report as a duplicate of GHSA-3hr5-mjrr-hfjh and states that remediation is consolidated in that earlier advisory. The consolidated issue is fixed in version 2.6.2.
Published: 2026-09-16T16:22:14.881Z
Updated: 2026-09-16T17:29:51.661Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-50163 vulnerable 2026-07-29 00:57:47.601431 oras-go: Hardlink entry with relative Linkname escapes extract dir via process CWD resolution in `oras-go` tar extraction
HIGH (7.1)
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.2, ensureLinkPath in content/file/utils.go:262-275 validates a hardlink target relative to the extract base but returns the unresolved target, causing os.Link("victim.secret", "<extract_base>/payload.tar.gz/evil_cwd_link") to resolve header.Linkname against the process current working directory for a Typeflag=TypeLink entry such as Name=payload.tar.gz/evil_cwd_link and Linkname="victim.secret" with io.deis.oras.content.unpack: "true", which can expose or tamper with files such as .env, .git/config, .aws/credentials, and ~/.ssh/config. This issue is fixed in version 2.6.2.
Published: 2026-07-17T19:36:01.254Z
Updated: 2026-07-20T15:01:16.630Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-50162 vulnerable 2026-07-29 00:57:47.601144 oras-go: file store write outside workingDir via symlink traversal
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.
Published: 2026-07-17T19:39:28.847Z
Updated: 2026-07-20T18:18:44.172Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-50151 vulnerable 2026-07-29 00:57:47.591583 oras-go: credential forwarding via unvalidated Location header in blob upload
HIGH (7.5)
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, registry/remote/repository.go in blobStore.completePushAfterInitialPost follows a registry-controlled Location header during monolithic blob upload and reuses the Authorization header from the initial POST request for the subsequent PUT request, allowing a malicious registry to return a cross-host Location and receive the caller's credentials at an attacker-controlled endpoint. This issue is fixed in version 2.6.1.
Published: 2026-07-17T19:41:11.648Z
Updated: 2026-07-20T13:52:07.476Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-48978 vulnerable 2026-07-29 00:57:44.777549 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.