Incorrect Authorization Affecting zotregistry.dev/zot/v2/pkg/api/ package, versions <2.1.15


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (12th 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-ZOTREGISTRYDEVZOTV2PKGAPI-15518635
  • published13 Mar 2026
  • disclosed10 Mar 2026
  • credit1seal

Introduced: 10 Mar 2026

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

How to fix?

Upgrade zotregistry.dev/zot/v2/pkg/api/ to version 2.1.15 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization in the DistSpecAuthzHandler process. An attacker can overwrite an existing latest tag without the required update permission by exploiting the authorization logic that incorrectly treats overwrite attempts as create actions when the tag is latest.

CVSS Base Scores

version 4.0
version 3.1