{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31801","id":"CVE-2026-31801","title":"zot create-only policy allows overwrite attempts of existing latest tag (update permission not required)","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","descriptionLong":"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":"2026-03-10T20:54:15.164Z","updated":"2026-10-28T02:31:09.028207599Z","reserved":"2026-03-09T16:33:42.913Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["project-zot zot"],"affectedProducts":[{"vendor":"project-zot","product":"zot","defaultStatus":null,"versions":[{"version":">= 1.3.0, < v2.1.15","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"zotregistry.dev/zot/v2","purl":"pkg:golang/zotregistry.dev/zot/v2","ranges":["<2.1.15"],"fixed":["2.1.15"],"advisory":"GHSA-85jx-fm8m-x8c6"},{"ecosystem":"Go","name":"zotregistry.dev/zot","purl":"pkg:golang/zotregistry.dev/zot","ranges":[">=1.3.0-20210831063041-c8779d9e87d9 <=1.4.4-20251014054906-73eef25681af","all versions"],"fixed":[],"advisory":"GHSA-85jx-fm8m-x8c6"}],"cwes":["CWE-863"],"aliases":["GHSA-85jx-fm8m-x8c6","GO-2026-4668"],"references":[{"url":"https://github.com/project-zot/zot/security/advisories/GHSA-85jx-fm8m-x8c6","tags":["x_refsource_CONFIRM","Exploit","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31801.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31801","tags":["advisory"]},{"url":"https://github.com/project-zot/zot","tags":["package"]},{"url":"https://github.com/project-zot/zot/releases/tag/v2.1.15","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00242,"epssPercentile":0.15497,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31801","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31801","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31801","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-85jx-fm8m-x8c6","ok":true,"note":"GHSA-85jx-fm8m-x8c6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31801","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}