Allocation of Resources Without Limits or Throttling in Gitea - CVE-2026-42931

 

Allocation of Resources Without Limits or Throttling in Gitea - CVE-2026-42931

Published: July 14, 2026


Vulnerability identifier: #VU137420
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-42931
CWE-ID: CWE-770
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 allocation of resources without limits or throttling in the AddPackageTag NPM package tag API endpoint when handling a crafted HTTP PUT request body. A remote user can send a single large request body to cause a denial of service.

No package needs to exist for exploitation, and concurrent requests can repeatedly crash the server after automatic restarts.


Affected software

Gitea

How to mitigate CVE-2026-42931

Install security update from vendor's website.

Gitea - update to 1.27.0

External References

Related Security Bulletins