Incorrect authorization in Gitea - CVE-2026-97204
Published: October 19, 2026
Vulnerability details
The vulnerability allows a remote user to delete another organisation's labels without authorization, removing their associations with issues in that organisation.
The vulnerability exists due to incorrect authorization in Gitea's DeleteLabel function when comparing a caller-supplied repository identifier against a label's organisation identifier without distinguishing their namespaces. A remote user can use issues-write permission on a repository whose identifier matches an organisation's identifier to submit a repository-scoped deletion request targeting that organisation's label and delete it without organisation ownership.