CVE-2026-50151

NameCVE-2026-50151
Descriptionoras-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.
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.0-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-oras-oras-gosource(unstable)(unfixed)

Notes

https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7
https://github.com/oras-project/oras-go/pull/1152
Fixed by: https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991 (v2.6.1)

Search for package or bug name: Reporting problems