Server-Side Request Forgery (SSRF) Affecting harbor-registry package, versions <3.1.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (11th 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 Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-MINIMOSLATEST-HARBORREGISTRY-15968201
  • published10 Apr 2026
  • disclosed6 Apr 2026

Introduced: 6 Apr 2026

NewCVE-2026-33540  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade Minimos:latest harbor-registry to version 3.1.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream harbor-registry package and not the harbor-registry package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

Distribution is a toolkit to pack, ship, store, and deliver container content. Prior to 3.1.0, in pull-through cache mode, distribution discovers token auth endpoints by parsing WWW-Authenticate challenges returned by the configured upstream registry. The realm URL from a bearer challenge is used without validating that it matches the upstream registry host. As a result, an attacker-controlled upstream (or an attacker with MitM position to the upstream) can cause distribution to send the configured upstream credentials via basic auth to an attacker-controlled realm URL. This vulnerability is fixed in 3.1.0.

CVSS Base Scores

version 3.1