# CVE-2026-120991: Gitea deletion of shared container blobs on rejected uploads

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-11-15T21:13:54.916Z
- Modified: 2026-11-16T22:18:15.143Z
- Weaknesses: CWE-460
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- gitea.dev: from 1.20.0 before 28.4.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-q8pg-ggp9-rm9m> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/40120> (patch)
- <https://github.com/go-gitea/gitea/pull/40268> (patch)
- <https://blog.gitea.com/release-of-28.4.0/> (release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.4.0> (release-notes)

## Sources

- CVE List: [CVE-2026-120991](https://www.cve.org/CVERecord?id=CVE-2026-120991), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-120991](https://nvd.nist.gov/vuln/detail/CVE-2026-120991), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-120991 · Whole record: https://cve.day/CVE-2026-120991.json · Rebuilt by cve.day 2026-11-25T22:59:50.837Z
