CVE-2026-105267

Summary

The Gitea web route for deleting tags (POST /{owner}/{repo}/tags/delete) requires only write access to the Code unit, but shares its handler with release deletion and did not check that the target was a plain tag. A collaborator with Code write access and without Releases write access could permanently delete published releases of that repository, including their attachments. Protected tag rules covering the release tag still blocked the deletion.

Affected Software

VendorProductVersion RangeStatus
GiteaGitea0 <= 28.0.0affected

Weaknesses

  • CWE-732: CWE-732: Incorrect Permission Assignment for Critical Resource
  • CWE-863: CWE-863: Incorrect Authorization

References