Server-Side Request Forgery (SSRF) in gogs - CVE-2026-47267
Published: June 19, 2026
gogs
Detailed vulnerability description
The vulnerability allows a remote user to access internal network resources.
The vulnerability exists due to server-side request forgery in webhook deliveries when following redirects from user-supplied webhook URLs. A remote user can configure a webhook that returns a redirect to an internal address to access internal network resources.
The issue can be exploited because redirects are followed even when the redirected hostname resolves inside local CIDR ranges.