Server-Side Request Forgery (SSRF) in Gitea - CVE-2026-22874
Published: June 22, 2026
Gitea
Detailed vulnerability description
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.