ADVISORIES

Vulnerability

CVE-2026-50151

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.

656 advisories report this vulnerability, across 7 ecosystems.

Advisories in Go

  • GHSA-jxpm-75mh-9fp7

    oras-go blob upload vulnerable to credential forwarding via unvalidated Location header

    High CVE-2026-50151 Go Updated 10 September 2026
  • GO-2026-5882

    Oras-go: Blob upload vulnerable to credential forwarding via unvalidated Location header in oras.land/oras-go

    CVE-2026-50151 Go Updated 24 July 2026

References