Server-Side Request Forgery (SSRF) in gogs - CVE-2022-1285

 

Server-Side Request Forgery (SSRF) in gogs - CVE-2022-1285

Published: May 31, 2022 / Updated: April 27, 2026


Vulnerability identifier: #VU128088
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-1285
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to discover services in the internal network.

The vulnerability exists due to server-side request forgery in webhook functionality when processing user-supplied webhook payload URLs. A remote user can supply a webhook payload URL to probe internal network services to discover services in the internal network.

All installations accepting public traffic are vulnerable.


Affected software

gogs

How to mitigate CVE-2022-1285

Install security update from vendor's website.

gogs - update to 0.12.8

External References

Related Security Bulletins