CVE-2026-50151
Description
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.
How to fix
- linuxfoundation oras2.6.1 or later
- oras.land/oras-go/v22.6.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linuxfoundation oras | v < 2.6.1 | 2.6.1 |
| oras.land/oras-go/v2Go | v < 2.6.1 | 2.6.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.