{"cve":"CVE-2026-31801","nvd":{"published":"2026-03-10T21:16:49.850","modified":"2026-06-17T10:34:29.377","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7},"cwes":["CWE-863"],"references":["https://github.com/project-zot/zot/security/advisories/GHSA-85jx-fm8m-x8c6"],"products":["zotregistry:zot"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-31801","score":0.00221,"percentile":0.12698,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-85jx-fm8m-x8c6","url":"https://osv.dev/vulnerability/GHSA-85jx-fm8m-x8c6","summary":"zot’s create-only policy allows overwrite attempts of existing latest tag (update permission not required)","modified":"2026-03-23T04:56:02.111439054Z","packages":[{"ecosystem":"Go","name":"zotregistry.dev/zot/v2","purl":"pkg:golang/zotregistry.dev/zot/v2","ranges":["<2.1.15"],"fixed":["2.1.15"]},{"ecosystem":"Go","name":"zotregistry.dev/zot","purl":"pkg:golang/zotregistry.dev/zot","ranges":[">=1.3.0-20210831063041-c8779d9e87d9 <=1.4.4-20251014054906-73eef25681af"],"fixed":[]}]},{"id":"GO-2026-4668","url":"https://osv.dev/vulnerability/GO-2026-4668","summary":"zot’s create-only policy allows overwrite attempts of existing latest tag (update permission not required) in zotregistry.dev/zot","modified":"2026-03-23T04:52:52.383274Z","packages":[{"ecosystem":"Go","name":"zotregistry.dev/zot","purl":"pkg:golang/zotregistry.dev/zot","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"zotregistry.dev/zot/v2","purl":"pkg:golang/zotregistry.dev/zot/v2","ranges":["<2.1.15"],"fixed":["2.1.15"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}