Resource exhaustion in gogs - CVE-2026-52814

 

Resource exhaustion in gogs - CVE-2026-52814

Published: June 19, 2026


Vulnerability identifier: #VU134894
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-52814
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: gogs.io
Affected software:
gogs

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled resource consumption in the built-in Go SSH server when handling inbound SSH connections without receiving the protocol banner. A remote attacker can open multiple TCP connections and withhold the SSH banner to cause a denial of service.

Only instances using the built-in Go SSH server are vulnerable.


How to mitigate CVE-2026-52814

Install security update from vendor's website.

Sources