Incorrect authorization in Gitea - CVE-2026-97204

 

Incorrect authorization in Gitea - CVE-2026-97204

Published: October 19, 2026


Vulnerability identifier: #VU156118
CSH Severity: Low
CVSS v4: 2.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-97204
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Gitea

How to mitigate CVE-2026-97204

Install security update from vendor's website.

Gitea - update to 28.2.0

External References

Related Security Bulletins