7.5

CVE-2026-50151

Exploit

oras-go: credential forwarding via unvalidated Location header in blob upload

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Linuxfoundation ≫ Oras SwPlatform go Version < 2.6.1
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.36% 0.29
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
security-advisories@github.com 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-918 Server-Side Request Forgery (SSRF)

The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

https://github.com/oras-project/oras-go/releases/tag/v2.6.1
Release Notes
https://github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7
Vendor Advisory
Exploit
Mitigation
https://github.com/oras-project/oras-go/pull/1152
Patch
Issue Tracking
https://github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991
Patch