SCA: security update for github.com/distribution/distribution, github.com/distribution/distribution/v3 (GHSA-3p65-76g6-3w7r)

high Tenable Cloud Security Plugin ID 446795

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-33540)

Solution

Update the github.com/distribution/distribution/v3 library and its related packages to version 3.1.0 or later.

See Also

https://github.com/advisories/GHSA-3p65-76g6-3w7r

Plugin Details

Severity: High

ID: 446795

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 8/31/2026

Updated: 8/31/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2026-33540

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/6/2026

Vulnerability Publication Date: 4/6/2026

Reference Information

CVE: CVE-2026-33540

cwe: CWE-918