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: 7.2 [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]
CVE-ID: CVE-2026-52801
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

gogs

How to mitigate CVE-2026-52801

Install security update from vendor's website.

gogs - update to 0.14.3

External References

Related Security Bulletins