{
  "id": "CVE-2026-31801",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31801",
  "published_at": "2026-03-10T20:54:15.164Z",
  "title": "zot create-only policy allows overwrite attempts of existing latest tag (update permission not required)",
  "vendor": "project-zot",
  "product": "zot",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-863",
  "cpes": [
    "cpe:2.3:a:zotregistry:zot:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "project-zot",
        "product": "zot",
        "ranges": [
          "\u003e= 1.3.0, \u003c v2.1.15"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "zotregistry.dev/zot/v2",
        "ranges": [
          "\u003c 2.1.15"
        ],
        "fixed_in": [
          "2.1.15"
        ],
        "ecosystem": "Go",
        "advisory": "GHSA-85jx-fm8m-x8c6"
      },
      {
        "vendor": "",
        "product": "zotregistry.dev/zot",
        "ranges": [
          "\u003e= 1.3.0-20210831063041-c8779d9e87d9, \u003c= 1.4.4-20251014054906-73eef25681af"
        ],
        "fixed_in": null,
        "ecosystem": "Go",
        "advisory": "GHSA-85jx-fm8m-x8c6"
      }
    ],
    "upgrade": [
      "Upgrade zotregistry.dev/zot/v2 to 2.1.15 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/project-zot/zot/security/advisories/GHSA-85jx-fm8m-x8c6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
