CVE-2026-120991
published medium CVSS 3.1 · 6.5Gitea deletion of shared container blobs on rejected uploads
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 1.20.0 to < 28.4.0 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
When a container blob upload was rejected, for example because it exceeded a package size quota, the cleanup removed the blob from storage even if the same content already existed and was used by other packages. On an instance with a package quota configured, a user who can upload container images and has the exact content of another owner's package file or image layer could make it undownloadable. The cleanup now only removes blobs that the failed upload created.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 1.20.0 to < 28.4.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-460 CWE-460: Improper Cleanup on Thrown Exception
References
5- Gitea 28.4.0 release announcement https://blog.gitea.com/release-of-28.4.0/
- Fix: go-gitea/gitea pull request #40120 https://github.com/go-gitea/gitea/pull/40120
- Fix backport to release/v28: go-gitea/gitea pull request #40268 https://github.com/go-gitea/gitea/pull/40268
- go-gitea/gitea v28.4.0 release https://github.com/go-gitea/gitea/releases/tag/v28.4.0
- GitHub Security Advisory GHSA-q8pg-ggp9-rm9m https://github.com/go-gitea/gitea/security/advisories/GHSA-q8pg-ggp9-rm9m
Provider assertions
2Gitea · cna
Gitea deletion of shared container blobs on rejected uploads
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0a1dc8870200cbdc54678302eabeac19bfa94e20023c78a2b4d25e867e9ea3f1
- Ingested
- 16 Nov 2026, 21:53:59 UTC
- Source record
- Official CVE record