CVE-2026-31801 zot create-only policy allows overwrite attempts of existing latest tag (update permission not required)
HighCVSS 7.7
EPSS 0.24%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| zotregistry.dev/zot(Go) | < 2.1.15; >= 1.3.0-20210831063041-c8779d9e87d9, <= 1.4.4-20251014054906-73eef25681af; All versions | 2.1.15 | Partially fixed |
| zotregistry zot | >= 1.3.0, < 2.1.15 | 2.1.15 | Fixed |
| project-zot zot | = >= 1.3.0, < v2.1.15 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zotregistry.dev/zot(Go) | < 2.1.15 | 2.1.15 |
| zotregistry.dev/zot(Go) | >= 1.3.0-20210831063041-c8779d9e87d9, <= 1.4.4-20251014054906-73eef25681af | No fix listed |
| zotregistry.dev/zot(Go) | All versions | No fix listed |
| project-zot zot | = >= 1.3.0, < v2.1.15 | No fix listed |
| zotregistry zot | >= 1.3.0, < 2.1.15 | 2.1.15 |
References
- https://github.com/project-zot/zot/security/advisories/GHSA-85jx-fm8m-x8c6 exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- github.com