Resource exhaustion in Gitea - CVE-2026-63021

 

Resource exhaustion in Gitea - CVE-2026-63021

Published: August 31, 2026


Vulnerability identifier: #VU146355
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-63021
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Gitea

How to mitigate CVE-2026-63021

Install security update from vendor's website.

Gitea - update to 1.27.3

External References

Related Security Bulletins