Cross-site request forgery in Gitea - CVE-2026-107618

 

Cross-site request forgery in Gitea - CVE-2026-107618

Published: October 19, 2026


Vulnerability identifier: #VU156116
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-107618
CWE-ID: CWE-352
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to overwrite or clear repository topics without authorization.

The vulnerability exists due to missing cross-site request forgery protection in the Gitea POST /{owner}/{repo}/topics route when handling cross-site requests, because the route omits the sign-in middleware that performs cross-origin checks. A remote attacker can lure a logged-in repository administrator to a malicious or compromised website that submits a cross-site POST with the administrator's session cookie to overwrite or clear that repository's topics.


Affected software

Gitea

How to mitigate CVE-2026-107618

Install security update from vendor's website.

Gitea - update to 28.2.0

External References

Related Security Bulletins