CVE-2026-85732

NameCVE-2026-85732
Descriptionoras-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-oras-oras-go (PTS)bookworm1.1.1-1vulnerable
trixie2.5.0-1vulnerable
forky, sid2.6.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-oras-oras-gosource(unstable)2.6.2-1

Notes

[trixie] - golang-oras-oras-go <no-dsa> (Minor issue)
[bookworm] - golang-oras-oras-go <postponed> (Limited support, minor issue; v1.1.1 affected too, Tags() follows a cross-origin Link header)
https://github.com/oras-project/oras-go/security/advisories/GHSA-h7vf-4x9w-h99v
Fixed by: https://github.com/oras-project/oras-go/commit/31da1963f8c327dd089cd29faeae95cf0fc50842 (v2.6.2)

Search for package or bug name: Reporting problems