CVE-2026-73130: Gitea repository initialization resource exhaustion
Gitea does not limit the length of the gitignores field accepted by repository-creation forms and the API. Repository initialization splits the field into template names, repeatedly reads the referenced templates, and buffers their contents in memory. An attacker who can create repositories can submit an oversized value to amplify template reads and memory use, impairing availability.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs permission to create repositories. The issue is reachable through repository-creation forms and the repository-creation API.
What input is used to trigger the resource exhaustion?
The attacker submits an oversized gitignores field when creating a repository. Repository initialization splits that value into template names, repeatedly reads the referenced templates, and buffers their contents in memory.