Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. zotregistry.dev/zot
  4. ›
  5. CVE-2026-31801

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

March 10, 2026

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.

References

  • github.com/advisories/GHSA-85jx-fm8m-x8c6
  • github.com/project-zot/zot
  • github.com/project-zot/zot/releases/tag/v2.1.15
  • github.com/project-zot/zot/security/advisories/GHSA-85jx-fm8m-x8c6
  • nvd.nist.gov/vuln/detail/CVE-2026-31801

Code Behaviors & Features

Detect and mitigate CVE-2026-31801 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.3.0-20210831063041-c8779d9e87d9 up to 1.4.4-20251014054906-73eef25681af

Solution

Unfortunately, there is no solution available yet.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/zotregistry.dev/zot/CVE-2026-31801.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:19:03 +0000.