---
id: CVE-2026-97204
title: Gitea label deletion across repository and organization IDs
summary: >-
  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 lab…
severity: none
cwe:
  - CWE-863
vendor: Gitea
product: gitea.dev
affected:
  - gitea.dev <= 28.1.0
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T19:00:50.994Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-97204'
references:
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-fxq4-gr55-7x5g'
    label: GitHub Security Advisory GHSA-fxq4-gr55-7x5g
  - url: 'https://github.com/go-gitea/gitea/pull/39743'
    label: 'Fix: go-gitea/gitea pull request #39743'
  - url: 'https://github.com/go-gitea/gitea/pull/39752'
    label: 'Fix backport to release/v28: go-gitea/gitea pull request #39752'
  - url: 'https://blog.gitea.com/release-of-28.2.0/'
    label: Gitea 28.2.0 release announcement
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v28.2.0'
    label: go-gitea/gitea v28.2.0 release
tags:
  - cve.org
ingestedAt: '2026-10-18T19:51:12.341Z'
---

## Overview

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.

## Affected

- `gitea.dev <= 28.1.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
