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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-40884— goshs: Empty-username SFTP password authentication bypass in goshs

CVSS 9.8 · Critical EPSS 0.07% · P20
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-40884

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
goshs: Empty-username SFTP password authentication bypass in goshs
Source: NVD (National Vulnerability Database)
Vulnerability Description
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.6, goshs contains an SFTP authentication bypass when the documented empty-username basic-auth syntax is used. If the server is started with -b ':pass' together with -sftp, goshs accepts that configuration but does not install any SFTP password handler. As a result, an unauthenticated network attacker can connect to the SFTP service and access files without a password. This vulnerability is fixed in 2.0.0-beta.6.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
关键功能的认证机制缺失
Source: NVD (National Vulnerability Database)
Vulnerability Title
goshs 访问控制错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
goshs是Patrick Hener个人开发者的一个用Go编写的简单HTTP Server。 goshs 2.0.0-beta.6之前版本存在访问控制错误漏洞,该漏洞源于使用文档记录的空用户名基本身份验证语法时,未安装SFTP密码处理程序,可能导致未经身份验证的网络攻击者无需密码访问SFTP服务。
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)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

VendorProductAffected VersionsCPESubscribe
patrickhenergoshs < 2.0.0-beta.6 -

II. Public POCs for CVE-2026-40884

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40884

登录查看更多情报信息。
Advisory · 1

Same Patch Batch · patrickhener · 2026-04-21 · 5 CVEs total

CVE-2026-409039.1 CRITICALGoshs - ArtiPACKED Vulnerability – GitHub Actions Credential Persistence
CVE-2026-40876SFTP root escape via prefix-based path validation in goshs
CVE-2026-40883goshs: CSRF in state-changing GET routes enables authenticated file deletion and directory
CVE-2026-40885goshs: Public collaborator feed leaks .goshs ACL credentials and enables unauthorized acce

IV. Related Vulnerabilities

V. Comments for CVE-2026-40884

No comments yet


Leave a comment