# CVE-2026-31801: zot create-only policy allows overwrite attempts of existing latest tag (update permission not required)

- Severity: High 7.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-10T20:54:15.164Z
- Modified: 2026-06-17T10:34:29.377Z
- Also known as: GHSA-85jx-fm8m-x8c6, GO-2026-4668
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- project-zot zot: >= 1.3.0, < v2.1.15
- zotregistry.dev/zot/v2 (Go): before 2.1.15
- zotregistry.dev/zot (Go): from 1.3.0-20210831063041-c8779d9e87d9 up to 1.4.4-20251014054906-73eef25681af; all versions
- zotregistry zot: from 1.3.0 before 2.1.15

## Every score

- GitHub_M: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N`

## References

- <https://github.com/project-zot/zot/security/advisories/GHSA-85jx-fm8m-x8c6> (exploit, advisory, mitigation, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2026-31801](https://www.cve.org/CVERecord?id=CVE-2026-31801), CVE Terms of Use, modified 2026-03-11
- GitHub Advisory Database: [GHSA-85jx-fm8m-x8c6](https://github.com/advisories/GHSA-85jx-fm8m-x8c6), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4668](https://pkg.go.dev/vuln/GO-2026-4668), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-31801](https://nvd.nist.gov/vuln/detail/CVE-2026-31801), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31801 · Whole record: https://cve.day/CVE-2026-31801.json · Rebuilt by cve.day 2026-11-25T22:59:15.667Z
