CVE-2026-120991Gitea deletion of shared container blobs on rejected uploads
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- GitHub Security Advisory GHSA-q8pg-ggp9-rm9m vendor-advisory
- Fix: go-gitea/gitea pull request #40120 patch
- Fix backport to release/v28: go-gitea/gitea pull request #40268 patch
- Gitea 28.4.0 release announcement release-notes
- go-gitea/gitea v28.4.0 release release-notes