Skip to content
OpenAdvisories
High · 7.7 CVE-2026-31801 EUVD-2026-10890GHSA-85jx-fm8m-x8c6GO-2026-4668

zot create-only policy allows overwrite attempts of existing latest tag (update permission not required)

Published Mar 10, 2026 · Updated Mar 11, 2026 · Assigned by GitHub_M

Description

zot is ancontainer image/artifact registry based on the Open Container Initiative Distribution Specification. From 1.3.0 to 2.1.14, zot’s dist-spec authorization middleware infers the required action for PUT /v2/{name}/manifests/{reference} as create by default, and only switches to update when the tag already exists and reference != "latest". As a result, when latest already exists, a user who is allowed to create (but not allowed to update) can still pass the authorization check for an overwrite attempt of latest. This vulnerability is fixed in 2.1.15.

Affected products

VendorProductAffectedFixed
project-zot zot >= 1.3.0, < v2.1.15 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260317T205859-150000.1.152.1 SUSE-SU-2026:1042-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go zotregistry.dev/zot >= 1.3.0-20210831063041-c8779d9e87d9, <= 1.4.4-20251014054906-73eef25681af — GHSA-85jx-fm8m-x8c6
Go zotregistry.dev/zot all versions — GO-2026-4668
Go zotregistry.dev/zot/v2 < 2.1.15 2.1.15 GHSA-85jx-fm8m-x8c6

Advisories 2

References