Input validation error in gogs - CVE-2026-52801

 

Input validation error in gogs - CVE-2026-52801

Published: June 19, 2026


Vulnerability identifier: #VU134908
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-52801
CWE-ID: CWE-20
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 and cause a denial of service.

The vulnerability exists due to improper input validation in the Mirror Settings SaveAddress function when processing repository mirror settings. A remote user can supply a local repository path to disclose sensitive information and cause a denial of service.

The issue provides an alternative path to local repository import outside the validation enforced by the New Migration functionality. There is also a potential issue of blind SSRF.


How to mitigate CVE-2026-52801

Install security update from vendor's website.

Sources