CVE-2026-52814

published 24 Jun 2026 · updated 25 Jun 2026

Gogs: Unauthenticated Asymmetric Denial of Service (DoS) via SSH Handshake Stall (File Descriptor Exhaustion)

5.5MediumCVSS 5.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

Gogs is an open source self-hosted Git service. Prior to 0.14.3, the Gogs built-in Go SSH server is vulnerable to an unauthenticated, asymmetric Denial of Service (DoS) attack. The application accepts inbound TCP connections and passes them to golang.org/x/crypto/ssh.NewServerConn inside a new goroutine without enforcing any read/write deadlines on the underlying net.Conn. An unauthenticated attacker can open multiple TCP connections to the SSH port and simply withhold the SSH protocol banner. This forces the server to spawn an unbounded number of goroutines that block indefinitely waiting for socket I/O. This leads to complete File Descriptor (FD) exhaustion, preventing legitimate users from accessing the Git SSH service, and ultimately destabilizing the entire Gogs process (e.g., causing internal log rotation failures). This vulnerability is fixed in 0.14.3.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GogsGogs<0.14.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gogs, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-52814 severity on Zeptric[![CVE-2026-52814](https://zeptric.io/badge/cve/CVE-2026-52814.svg)](https://zeptric.io/cve/CVE-2026-52814)