Skip to content

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

MediumCVSS 6.5 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Gitea >= 1.20.0, < 28.4.0 28.4.0 Fixed

Affected products

ProductAffected versionsFixed in
Gitea >= 1.20.0, < 28.4.0 28.4.0

References