Incorrect Authorization Affecting github.com/distribution/distribution/registry/handlers package, versions <3.1.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (21st 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 Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMDISTRIBUTIONDISTRIBUTIONREGISTRYHANDLERS-16419388
  • published5 May 2026
  • disclosed4 May 2026
  • creditjoonas

Introduced: 4 May 2026

CVE-2026-41888  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade github.com/distribution/distribution/registry/handlers to version 3.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization through the DeleteManifest process. An attacker can remove tags from repositories by sending a DELETE request to the relevant API endpoint, even when deletion has been explicitly disabled in the configuration. This is only exploitable if the storage.delete.enabled setting is set to false.

CVSS Base Scores

version 4.0
version 3.1