Infinite loop in Gitea - CVE-2026-104633

 

Infinite loop in Gitea - CVE-2026-104633

Published: October 19, 2026


Vulnerability identifier: #VU156113
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-104633
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause a denial of service by exhausting server memory.

The vulnerability exists due to an unreachable loop exit condition in the Gitea migration downloader in services/migrations/gitea_downloader.go when processing pagination settings supplied by a migration source. A remote user can initiate a repository migration from a controlled source that reports max_response_items: 0 to make paginated fetch loops run indefinitely and accumulate results in memory, exhausting server resources.


Affected software

Gitea

How to mitigate CVE-2026-104633

Install security update from vendor's website.

Gitea - update to 28.1.0

External References

Related Security Bulletins