CVE-2026-31801
HIGH 7.7CVSS 3.1zot’s create-only policy allows overwrite attempts of existing latest tag (update permission not required)
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.
- Published
- 10 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- GHSA-85jx-fm8m-x8c6GO-2026-4668
- Sources
- NVDJSONOSV GHSA-85jx-fm8m-x8c6JSONOSV GO-2026-4668JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zotregistry | zotcpe:2.3:a:zotregistry:zot:*:*:*:*:*:*:*:* |
>= 1.3.0, < 2.1.15 | 2.1.15 |
| OSV | Go | zotregistry.dev/zot/v2 | < 2.1.15 | 2.1.15 |
| OSV | Go | zotregistry.dev/zot | >= 1.3.0-20210831063041-c8779d9e87d9, <= 1.4.4-20251014054906-73eef25681af | |
| OSV | Go | zotregistry.dev/zot | all versions |
References
- https://github.com/project-zot/zot/security/advisories/GHSA-85jx-fm8m-x8c6 · Exploit, Mitigation, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-31801 · ADVISORY
- https://github.com/project-zot/zot · PACKAGE
- https://github.com/project-zot/zot/releases/tag/v2.1.15 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Mar 2026)