Inefficient Algorithmic Complexity in Gitea - CVE-2026-58436

 

Inefficient Algorithmic Complexity in Gitea - CVE-2026-58436

Published: July 14, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to inefficient algorithmic complexity in the Locale middleware when processing a crafted Accept-Language header. A remote attacker can send a specially crafted request to cause a denial of service.

The issue affects unauthenticated requests and can be triggered through a single GET request to endpoints reached through the global web request pipeline.


Affected software

Gitea

How to mitigate CVE-2026-58436

Install security update from vendor's website.

Gitea - update to 1.27.0

External References

Related Security Bulletins