CVE-2026-120991 json
Gitea deletion of shared container blobs on rejected uploads
published 2d ago modified yesterday also EUVD-2026-126120 , GHSA-q8pg-ggp9-rm9m
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository go-gitea/gitea. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go gitea.dev 28.4.0
- Gitea Gitea 28.4.0
- github.com/go-gitea/gitea#40120 pull request
- github.com/go-gitea/gitea#40268 pull request
- github.com/go-gitea/gitea/releases/tag/v28.4.0 release
Is CVE-2026-120991 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- yesterday
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-17).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gitea.dev | >=1.20, <=28.3.0 |
28.4.0 |
Affected products
- Gitea Gitea
Classification
- Weakness
-
- CWE-460 Improper Cleanup on Thrown Exception
- Technology feeds
References
-
github.com
/go-gitea/gitea/pull/40120
patch
-
github.com
/go-gitea/gitea/pull/40268
patch
-
github.com
/go-gitea/gitea/security/advisories/GHSA-q8pg-ggp9-rm9m
vendor-advisory, advisory
-
blog.gitea.com
/release-of-28.4.0/
release-notes
-
github.com
/go-gitea/gitea/releases/tag/v28.4.0
release-notes
Sources
- CVE List CVE-2026-120991
- NVD CVE-2026-120991
- Maintainer advisory GHSA-q8pg-ggp9-rm9m
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of go-gitea/gitea published their own advisory on GitHub. Reviewed sources take precedence over it.