Server-Side Request Forgery (SSRF) in Gitea - CVE-2026-22874

 

Server-Side Request Forgery (SSRF) in Gitea - CVE-2026-22874

Published: June 22, 2026


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

Vulnerability details

The vulnerability allows a remote user to disclose sensitive information from internal services via server-side request forgery.

The vulnerability exists due to server-side request forgery in the HostMatchList.checkIP allow-list filter when processing webhook delivery or repository migration destinations. A remote user can send a request to a specially crafted internal destination to disclose sensitive information from internal services via server-side request forgery.

Webhook delivery captures the response status, headers, and up to 1 MiB of response body and renders them in the webhook history UI, making the SSRF non-blind.


Affected software

Gitea

How to mitigate CVE-2026-22874

Install security update from vendor's website.

Gitea - update to 1.26.3

External References

Related Security Bulletins