{"id":"CVE-2026-52814","published":"2026-06-24T20:15:51Z","modified":"2026-06-25T13:25:10Z","title":"Gogs: Unauthenticated Asymmetric Denial of Service (DoS) via SSH Handshake Stall (File Descriptor Exhaustion)","vendor":"gogs","product":"gogs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00547,"percentile":0.46751,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-xp79-5mx3-jx52","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gogs/gogs/pull/8335","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/commit/7da9cda314054501e1a7938a9c4d7896f331b884","tags":["x_refsource_MISC"]},{"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":["x_refsource_MISC"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":9.35},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"gogs","affectedVersions":[{"vendor":"gogs","product":"gogs","versions":["< 0.14.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-25T13:24:46.830960Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":["<0.14.3","all versions"],"patched":["0.14.3"],"from":["GHSA-xp79-5mx3-jx52","GO-2026-5765"],"provenance":"source"}],"summary":{"text":"Gogs, a self-hosted Git service, has a flaw in its built-in Go SSH server, where inbound TCP connections are handled without any read or write deadlines, so connections that never complete the SSH handshake can linger indefinitely. An unauthenticated remote attacker with only network access to the SSH port can open many such connections and withhold the protocol banner, exhausting file descriptors and blocking legitimate Git SSH access and potentially destabilising the Gogs process; no user interaction or configuration is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:10Z"},"euvd":{"id":"EUVD-2026-39067","exploited":false,"provenance":"source"}}