Vulnerability Details CVE-2026-40884
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 20.3%
CVSS Severity
CVSS v3 Score 9.8
Products affected by CVE-2026-40884
-
cpe:2.3:a:goshs:goshs:0.0.1
-
cpe:2.3:a:goshs:goshs:0.0.2
-
cpe:2.3:a:goshs:goshs:0.0.3
-
cpe:2.3:a:goshs:goshs:0.0.4
-
cpe:2.3:a:goshs:goshs:0.0.5
-
cpe:2.3:a:goshs:goshs:0.0.6
-
cpe:2.3:a:goshs:goshs:0.0.8
-
cpe:2.3:a:goshs:goshs:0.0.9
-
cpe:2.3:a:goshs:goshs:0.1.0
-
cpe:2.3:a:goshs:goshs:0.1.1
-
cpe:2.3:a:goshs:goshs:0.1.2
-
cpe:2.3:a:goshs:goshs:0.1.3
-
cpe:2.3:a:goshs:goshs:0.1.4
-
cpe:2.3:a:goshs:goshs:0.1.5
-
cpe:2.3:a:goshs:goshs:0.1.6
-
cpe:2.3:a:goshs:goshs:0.1.7
-
cpe:2.3:a:goshs:goshs:0.1.8
-
cpe:2.3:a:goshs:goshs:0.1.9
-
cpe:2.3:a:goshs:goshs:0.2.0
-
cpe:2.3:a:goshs:goshs:0.3.0
-
cpe:2.3:a:goshs:goshs:0.3.1
-
cpe:2.3:a:goshs:goshs:0.3.2
-
cpe:2.3:a:goshs:goshs:0.3.3
-
cpe:2.3:a:goshs:goshs:0.3.4
-
cpe:2.3:a:goshs:goshs:0.3.5
-
cpe:2.3:a:goshs:goshs:0.3.6
-
cpe:2.3:a:goshs:goshs:0.3.7
-
cpe:2.3:a:goshs:goshs:0.3.8
-
cpe:2.3:a:goshs:goshs:0.3.9
-
cpe:2.3:a:goshs:goshs:0.4.0
-
cpe:2.3:a:goshs:goshs:0.4.1
-
cpe:2.3:a:goshs:goshs:0.4.2
-
cpe:2.3:a:goshs:goshs:1.0.0
-
cpe:2.3:a:goshs:goshs:1.0.1
-
cpe:2.3:a:goshs:goshs:1.0.2
-
cpe:2.3:a:goshs:goshs:1.0.3
-
cpe:2.3:a:goshs:goshs:1.0.4
-
cpe:2.3:a:goshs:goshs:1.0.5
-
cpe:2.3:a:goshs:goshs:1.0.6
-
cpe:2.3:a:goshs:goshs:1.0.7
-
cpe:2.3:a:goshs:goshs:1.0.8
-
cpe:2.3:a:goshs:goshs:1.0.9
-
cpe:2.3:a:goshs:goshs:1.1.0
-
cpe:2.3:a:goshs:goshs:1.1.1
-
cpe:2.3:a:goshs:goshs:1.1.2
-
cpe:2.3:a:goshs:goshs:1.1.3
-
cpe:2.3:a:goshs:goshs:1.1.4
-
cpe:2.3:a:goshs:goshs:2.0.0