6.5Medium

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

Gitea Gitea Published: (4 days ago)

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.

Weakness (CWE): CWE-460

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Gitea Gitea 1.20.0 – < 28.4.0

References and patches