Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. oras.land/oras-go/v2
  4. ›
  5. CVE-2026-50151

CVE-2026-50151: oras-go blob upload vulnerable to credential forwarding via unvalidated Location header

July 1, 2026

oras-go follows a registry-controlled Location header during the monolithic blob upload flow and reuses the Authorization header from the initial POST request for the subsequent PUT request. If a malicious registry returns a cross-host Location, oras-go can send the caller’s credentials to an attacker-controlled endpoint.

References

  • github.com/advisories/GHSA-jxpm-75mh-9fp7
  • github.com/oras-project/oras-go/commit/4683c46ef078091544f5f55fd25102f002806991
  • github.com/oras-project/oras-go/pull/1152
  • github.com/oras-project/oras-go/releases/tag/v2.6.1
  • github.com/oras-project/oras-go/security/advisories/GHSA-jxpm-75mh-9fp7
  • nvd.nist.gov/vuln/detail/CVE-2026-50151

Code Behaviors & Features

Detect and mitigate CVE-2026-50151 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.6.1

Fixed versions

  • 2.6.1

Solution

Upgrade to version 2.6.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

go/oras.land/oras-go/v2/CVE-2026-50151.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:05 +0000.