CVE-2026-97204 Gitea label deletion across repository and organization IDs
A user with write access to a repository can delete organization labels due to ID collision, allowing unauthorized data modification.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-97204?
CVE-2026-97204 is a low-severity missing authorization vulnerability in Gitea, published on 18 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Deleting a label compared the ID of the repository in the request against the organization ID of organization labels, and the two ID sequences overlap. A user with write access to the issues of a repository could therefore delete the labels of an organization that has the same numeric ID as that repository. Labels are now deleted only within their own repository or organization.
Weakness: CWE-863
Which versions are affected by CVE-2026-97204?
How do I fix CVE-2026-97204?
No fix has been published for CVE-2026-97204 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-97204 being exploited?
There is no known exploitation of CVE-2026-97204 in the wild and no public exploit code.
Sources
Also known as GHSA-fxq4-gr55-7x5g.