Resource exhaustion in Gitea - CVE-2026-63021
Published: August 31, 2026
Vulnerability details
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to uncontrolled resource consumption in Swift package upload manifest parsing when processing an uploaded archive containing many shallow Package.swift or Package@swift-N.swift manifests. A remote user can upload a small, highly compressible archive with many manifest files to cause a denial of service.
Each manifest file is checked only against an individual 128 KiB limit, while the number of manifests and their aggregate in-memory size are not bounded before quota enforcement.