PatchSiren cyber security CVE debrief
CVE-2026-120991 Gitea CVE debrief
A vulnerability in Gitea allows for the deletion of shared container blobs when a container blob upload is rejected due to exceeding a package size quota. This could make existing packages undownloadable if an attacker has the exact content of another owner's package file or image layer and can upload container images. The vulnerability impacts Gitea instances with a package quota configured, especially those allowing container image uploads. Gitea instance administrators and users who can upload container images should assess exposure and apply patches promptly.
- Vendor
- Gitea
- Product
- Unknown
- CVSS
- Unknown
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-15
- Original CVE updated
- 2026-11-16
- Advisory published
- 2026-11-15
- Advisory updated
- 2026-11-16
Who should care
Gitea instance administrators and users who can upload container images should assess exposure and apply patches. Those with package quotas configured are at higher risk. Gitea instance administrators should verify exposure, especially if a package quota is configured, and apply patches promptly. Users who can upload container images should also review their configurations and apply patches to prevent unauthorized deletions.
Why it matters
Defenders should care because this vulnerability could allow an attacker to make existing packages undownloadable by deleting shared container blobs on rejected uploads. Gitea instance administrators and users who can upload container images should verify exposure, especially if a package quota is configured, and apply patches promptly.
- Potential for existing packages to become undownloadable.
- Need for verification of Gitea instance exposure and configurations.
- Priority for applying patches to prevent unauthorized deletions.
- Possible impact on package availability and integrity.
Technical summary
The vulnerability occurs when a container blob upload is rejected due to exceeding a package size quota. The cleanup process removes the blob from storage even if the same content is used by other packages. This could make existing packages undownloadable. The vulnerability impacts Gitea instances with a package quota configured, especially those allowing container image uploads. Gitea instance administrators and users who can upload container images should assess exposure and apply patches promptly. The vulnerability was introduced due to improper cleanup of container blobs on rejected uploads.
Defensive priority
Defenders should prioritize verifying exposure and applying patches for Gitea instances with a package quota configured, especially those allowing container image uploads.
Recommended defensive actions
- Verify Gitea instance exposure by checking if container image uploads are allowed and if a package quota is configured.
- Apply patches by updating to Gitea version 28.4.0 or later.
- Monitor for unusual upload and download activity on Gitea instances.
- Review and update inventory of Gitea instances and their configurations.
- Implement compensating controls for exposed systems while remediation is scheduled and verified.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Review relevant monitoring, detection, and logs for exposed assets that need extra review.
Evidence notes
The CVE record and source item provide details on the vulnerability, its impact, and patches. However, specific version details and full impact scope require verification from official Gitea sources. The vulnerability was introduced due to improper cleanup of container blobs on rejected uploads, which could lead to unintended deletion of shared blobs. Defenders should verify Gitea instance configurations, especially those with package quotas, and apply patches to prevent unauthorized deletions. Additional verification is needed to确定全量
Sources and references
Verified primary and authoritative sources
-
CVE-2026-120991 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-120991
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-120991 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-120991
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Gitea deletion of shared container blobs on rejected uploads
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/120xxx/CVE-2026-120991.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-q8pg-ggp9-rm9m
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/40120
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/pull/40268
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://blog.gitea.com/release-of-28.4.0/
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
URL: https://github.com/go-gitea/gitea/releases/tag/v28.4.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.