CVE-2026-73130GHSA-8r3w-5682-jrqf
Gitea repository initialization resource exhaustion
Gitea Gitea
CVSS
4.3MediumExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.37%Chance of exploitation activity in the next 30 days, higher than 29% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 1.27.3code.gitea.io/gitea, goGitHub
go get code.gitea.io/gitea@v1.27.3
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from CVE List
Affected versions 2
- Giteaaffected: all versions through 1.27.2CVE List
- code.gitea.io/gitea, go<= 1.27.2GitHub
References 5
- github.com/go-gitea/gitea/pull/39027Fixvia CVE List
- github.com/go-gitea/gitea/pull/39040Fixvia CVE List
- github.com/go-gitea/gitea/releases/tag/v1.27.3Fixvia CVE List
- github.com/go-gitea/gitea/security/advisories/GHSA-8r3w-5682-jrqfAdvisoryvia CVE List
- blog.gitea.com/release-of-1.27.3/Referencevia CVE List