Server-side Request Forgery (SSRF) Affecting github.com/oras-project/oras-go/v2/registry/remote package, versions <2.6.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMORASPROJECTORASGOV2REGISTRYREMOTE-17808220
  • published3 Jul 2026
  • disclosed1 Jul 2026
  • creditUnknown

Introduced: 1 Jul 2026

CVE-2026-50151  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade github.com/oras-project/oras-go/v2/registry/remote to version 2.6.1 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the blobStore.completePushAfterInitialPost process. An attacker can obtain sensitive credentials by manipulating the Location header to redirect requests to an attacker-controlled endpoint, causing the client to forward its Authorization header to an unintended host.

CVSS Base Scores

version 4.0
version 3.1