Insufficiently Protected Credentials Affecting github.com/oras-project/oras-go/v2/registry/remote/auth package, versions <2.6.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-GITHUBCOMORASPROJECTORASGOV2REGISTRYREMOTEAUTH-17808205
  • published3 Jul 2026
  • disclosed1 Jul 2026
  • creditUnknown

Introduced: 1 Jul 2026

CVE NOT AVAILABLE CWE-522  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Insufficiently Protected Credentials via the Authorization header being forwarded during HTTP redirects or blob upload Location responses across registry origins. An attacker can obtain registry credentials intended for one origin by causing a client to follow a redirect or upload location to a different HTTP origin.

CVSS Base Scores

version 4.0
version 3.1