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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-918"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50151.json"
}{
"cpe": "cpe:2.3:a:linuxfoundation:oras:*:*:*:*:*:go:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}