Server-Side Request Forgery (SSRF) in gogs - CVE-2026-52805

 

Server-Side Request Forgery (SSRF) in gogs - CVE-2026-52805

Published: June 19, 2026


Vulnerability identifier: #VU134905
CSH Severity: Medium
CVSS v4: 8.4 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:N/SA:N]
CVE-ID: CVE-2026-52805
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.

The vulnerability exists due to improper input validation in the repository migration functionality when processing migration requests that follow HTTP redirects. A remote user can submit a public-looking repository URL that redirects to a blocked internal Git endpoint to disclose sensitive information.

User interaction is required to initiate the migration request.


Affected software

gogs

How to mitigate CVE-2026-52805

Install security update from vendor's website.

gogs - update to 0.14.3

External References

Related Security Bulletins