Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-52814— Gogs: Unauthenticated Asymmetric Denial of Service (DoS) via SSH Handshake Stall (File Descriptor Exhaustion)

AI Predicted 5.3 Difficulty: Trivial EPSS 0.43% · P36

Affected Version Matrix 1

VendorProductVersion RangeStatus
gogsgogs< 0.14.3affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-52814

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Gogs: Unauthenticated Asymmetric Denial of Service (DoS) via SSH Handshake Stall (File Descriptor Exhaustion)
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
Gogs 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gogs是Gogs团队开源的一个源代码管理软件。 Gogs 0.14.3之前版本存在资源管理错误漏洞,该漏洞源于内置Go SSH服务器未对底层网络连接实施读写截止时间,可能导致未经身份验证的攻击者通过打开多个TCP连接并阻止SSH协议横幅,导致文件描述符耗尽,进而引发拒绝服务攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
gogsgogs < 0.14.3 -

II. Public POCs for CVE-2026-52814

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-52814

登录查看更多情报信息。

Patches & Fixes for CVE-2026-52814 (2)

Vendor Advisories for CVE-2026-52814 (1)

Vendor Pages for CVE-2026-52814 (1)

Same Patch Batch · gogs · 2026-06-24 · 24 CVEs total

CVE-2026-5281310.0 CRITICALGogs: Path Traversal in organization name results in RCE through Git hooks
CVE-2026-528069.9 CRITICALGogs: RCE via git rebase --exec argument injection in pull request merge
CVE-2026-527988.9 HIGHGogs: Stored XSS in `.ipynb` Preview
CVE-2026-528008.8 HIGHGogs: CSRF Leading to Organization Owner Takeover
CVE-2026-528058.7 HIGHGogs: Migration Redirect Bypass Leads to Internal Repository Theft
CVE-2026-527978.5 HIGHGogs: Overwriting critical files results in a denial of service
CVE-2026-472678.3 HIGHGogs: SSRF in webhook deliveries
CVE-2026-528018.1 HIGHGogs: Ability to import local repositories via Mirror Settings
CVE-2026-527997.5 HIGHGogs: Missing Authorization in Attachment Download
CVE-2026-528087.1 HIGHGogs: Write-level collaborators can mutate admin-only repository settings via API
CVE-2026-528096.8 MEDIUMGogs: Password-reset tokens use account-activation lifetime, ignoring RESET_PASSWORD_CODE_
CVE-2026-528025.4 MEDIUMGogs: Open Redirect via redirect_to in Gogs
CVE-2025-647194.9 MEDIUMGogs: Denial of Service in repository/wiki file listing web pages
CVE-2026-527954.3 MEDIUMGogs: Authorization Bypass in Watch API allows any user to monitor private repository acti
CVE-2026-527963.5 LOWGogs: DoS in rendering issue index pattern
CVE-2026-52807Gogs: DOM-based XSS via Milestone Name on New Issue Page
CVE-2026-52816Gogs: Unauthenticated Jupyter Notebook (ipynb) Sanitizer allows arbitrary data: URIs leadi
CVE-2026-52810Gogs: Write to readonly repositories using receive-pack + service=git-upload-pack confusio
CVE-2026-52812Gogs: LFS dedupe path leaks private repo content across tenants
CVE-2026-52811Gogs: UploadRepoFiles writes outside repo working tree via committed parent sym

Showing top 20 of 24 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-52814

No comments yet


Leave a comment