CVE-2026-120991: Gitea · Improper Cleanup on Thrown Exception
Affects GiteaSource CVE Database V5
Not known to be exploited : upgrade to 28.4.0 when convenient.
Data as of 15 Nov 2026, 21:35 UTC
Rated Medium by Threat Radar's AI analysis · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in 28.4.0
Exploitation evidence
Disclosed: evidence found.
CVE published 15 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade Gitea to 28.4.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Giteagitea.dev | Affected
| Fixed in
|
AI-suggested
Upgrade Gitea to version 28.4.0 or later, where the cleanup logic has been corrected to only remove blobs created by failed uploads. No other mitigation is required as the issue is fixed in this official release.
Description
CVE-2026-120991 is a vulnerability in Gitea where improper cleanup on a failed container blob upload could remove shared blob content used by other packages. This could cause other users' packages or image layers with identical content to become undownloadable if a package size quota is exceeded. The issue affects Gitea versions from 1.20.0 up to but not including 28.4.0. The vulnerability has been fixed in version 28.4.0 by changing the cleanup process to only remove blobs created by the failed upload.
References
- github.com/go-gitea/gitea/security/advisories/GHSA-q8pg-ggp9-rm9m (opens in a new tab)
- github.com/go-gitea/gitea/pull/40120 (opens in a new tab)
- github.com/go-gitea/gitea/pull/40268 (opens in a new tab)
- blog.gitea.com/release-of-28.4.0/ (opens in a new tab)
- github.com/go-gitea/gitea/releases/tag/v28.4.0 (opens in a new tab)