PatchSiren cyber security CVE debrief
CVE-2026-97204 Gitea CVE debrief
A vulnerability in Gitea allows users with write access to a repository's issues to delete labels of an organization with the same numeric ID as the repository. This issue has been fixed in Gitea version 28.2.0. The vulnerability arises from the label deletion process comparing the repository ID in the request with the organization ID of organization labels, and the two ID sequences overlap. To address this issue, Gitea has implemented a fix that ensures labels are deleted only within their own repository or organization. Gitea administrators, developers, and users with write access to repository issues should assess exposure and apply patches to prevent label deletion across IDs.
- Vendor
- Gitea
- Product
- Unknown
- CVSS
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-18
- Original CVE updated
- 2026-10-19
- Advisory published
- 2026-10-18
- Advisory updated
- 2026-10-19
Who should care
Gitea administrators, developers, and users with write access to repository issues should assess exposure and apply patches to prevent label deletion across repository and organization IDs.
Why it matters
The vulnerability in Gitea allows users with write access to a repository's issues to delete labels of an organization with the same numeric ID as the repository, potentially leading to unauthorized label deletion and data loss.
- Defenders must verify Gitea instance versions and configurations to identify potential exposure.
- Applying patches or updates to Gitea instances is necessary to prevent label deletion across repository and organization IDs.
- Monitoring Gitea instance logs for suspicious label deletion activity is crucial to detect potential exploitation.
- Reviewing access controls and permissions for Gitea repository and organization administrators is essential to prevent unauthorized label deletion.
Technical summary
The vulnerability in Gitea allows users with write access to a repository's issues to delete labels of an organization with the same numeric ID as the repository. This occurs because the label deletion process compares the repository ID in the request with the organization ID of organization labels, and the two ID sequences overlap. To address this issue, Gitea has implemented a fix that ensures labels are deleted only within their own repository or organization.
Defensive priority
Defenders should prioritize verifying exposure and applying patches for Gitea instances, especially those with overlapping repository and organization IDs.
Recommended defensive actions
- Verify Gitea instance versions and configurations to identify potential exposure.
- Apply patches or updates to Gitea instances to prevent label deletion across repository and organization IDs.
- Monitor Gitea instance logs for suspicious label deletion activity.
- Review access controls and permissions for Gitea repository and organization administrators.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
Evidence notes
The CVE record and source item provide details on the vulnerability, while vendor advisories and patch notes offer remediation guidance. The vulnerability allows users with write access to a repository's issues to delete labels of an organization with the same numeric ID as the repository. This occurs because the label deletion process compares the repository ID in the request with the organization ID of organization labels, and the two ID sequences overlap. The fix ensures labels are deleted only within their own repository or Gitea
Sources and references
Verified primary and authoritative sources
-
CVE-2026-97204 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-97204
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-97204 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-97204
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gitea label deletion across repository and organization IDs
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/97xxx/CVE-2026-97204.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-fxq4-gr55-7x5g
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/39743
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/39752
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://blog.gitea.com/release-of-28.2.0/
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/releases/tag/v28.2.0
Supplemental source - release-notes
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.