{"id":"CVE-2026-31801","published":"2026-03-10T20:54:15Z","modified":"2026-03-11T16:00:33Z","title":"zot create-only policy allows overwrite attempts of existing latest tag (update permission not required)","vendor":"project-zot","product":"zot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00359,"percentile":0.21984,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/project-zot/zot/security/advisories/GHSA-85jx-fm8m-x8c6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":4.4},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"project-zot","affectedVersions":[{"vendor":"project-zot","product":"zot","versions":[">= 1.3.0, < v2.1.15"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-11T15:37:29.566804Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"zotregistry.dev/zot/v2","vulnerableRanges":["<2.1.15"],"patched":["2.1.15"],"from":["GHSA-85jx-fm8m-x8c6","GO-2026-4668"],"provenance":"source"},{"ecosystem":"Go","package":"zotregistry.dev/zot","vulnerableRanges":[">=1.3.0-20210831063041-c8779d9e87d9, <=1.4.4-20251014054906-73eef25681af","all versions"],"patched":[],"from":["GHSA-85jx-fm8m-x8c6","GO-2026-4668"],"provenance":"source"}],"summary":{"text":"zot, an OCI-based container image and artifact registry, contains an authorization flaw in its dist-spec middleware: manifest PUT requests to the \"latest\" tag are classified as create rather than update, so a user holding only create permission can overwrite an existing latest tag. An attacker needs network access to the registry and a valid account with create permission but without update permission, and no user interaction or special configuration is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:08Z"},"euvd":{"id":"EUVD-2026-10890","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-31801","published":"2026-03-10","fixed":"2.1.15","kev":false},{"cve":"CVE-2026-61833","published":"2026-09-18","fixed":"2.1.18","kev":false,"link":{"from":"CVE-2026-31801","to":"CVE-2026-61833","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:zotregistry.dev/zot/v2","fromFixed":"2.1.15","toFixed":"2.1.18","daysApart":192}]}}],"package":"Go:zotregistry.dev/zot/v2"}}