Gitea deletion of shared container blobs on rejected uploads

State
Published
Severity
6.5 Medium
Published
Nov 15, 2026
Updated
Nov 16, 2026
Reserved
Nov 15, 2026

Read the record on cve.org

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.

ProductVersions
Gitea Gitea1.20.0 to before 28.4.0 Affected

Weaknesses

  • CWE-460 Improper Cleanup on Thrown Exception

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.