Server-Side Request Forgery (SSRF) in Gitea - CVE-2026-23603
Published: July 14, 2026
Vulnerability details
The vulnerability allows a remote user to cause the server to make arbitrary outbound HTTP requests.
The vulnerability exists due to server-side request forgery (ssrf) in OAuth2 avatar synchronization when fetching the OIDC picture claim URL. A remote user can supply a crafted avatar URL to cause the server to make arbitrary outbound HTTP requests.
Only instances with [oauth2_client] UPDATE_AVATAR = true enabled are vulnerable. The issue is blind by default, but limited response retrieval may be possible if a reachable internal endpoint returns a valid supported image within the configured avatar size limit.