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.0: 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/E:U/U:Green
CVE-ID: CVE-2026-52805
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: gogs.io
Affected software:
gogs

Detailed vulnerability description

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.


How to mitigate CVE-2026-52805

Install security update from vendor's website.

Sources