CVE-2026-120991 Details
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.
A vulnerability in Gitea's package management system allows users to delete package blobs from other owners under certain conditions. When a container blob upload is rejected for exceeding a package size quota, the system erroneously removes the blob from the storage, even if the same content is used by other packages. This issue affects Gitea versions 1.20.0 through 28.3.0, on instances with a package quota that the user's upload can exceed. The vulnerability can be exploited by a non-admin user who uploads container images and has access to the exact content of another owner's package file or image layer.
Users can upgrade to Gitea version 28.4.0, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 15, 2026CISA-ADP
Assessed Nov 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-28.4.0/ | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/pull/40120 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/pull/40268 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/releases/tag/v28.4.0 | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-q8pg-ggp9-rm9m | Gitea Limited | AdvisoryRemedyTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-460 | Improper Cleanup on Thrown Exception | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| Gitea | >= 1.20, <= 28.3.0 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 16, 2026 | CVE Modified | CISA-ADP |
| Nov 15, 2026 | New CVE Received | Gitea Limited |
Volerion