CVE-2026-50151
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7
- github.com/oras-project/oras-go/pull/1152
- github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991
- github.com/oras-project/oras-go/releases/tag/v2.6.1
- github.com/advisories/GHSA-jxpm-75mh-9fp7
- nvd.nist.gov/vuln/detail/CVE-2026-50151
- cve.org/CVERecord?id=CVE-2026-50151
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.