CVE-2026-62325
Critical
Description
goshs is a feature-rich single-binary file server for red teamers and developers. From 2.1.3 until 2.1.4, the sftpserver/sftpserver.go password handler used Username != "" && Password != "", so running goshs with -b 'admin:' -sftp and no -fkf left both SFTP authentication handlers unset and allowed unauthenticated file access. This issue is fixed in version 2.1.4.
SeverityCritical
CVSS9.1
Exploit probability—
ProductGithub.com/patrickhener/goshs/v2
PublishedJul 28, 2026
First seenJul 28, 2026
Weakness typeCWE-306Missing authentication for critical function
How to fix
Update
- github.com/patrickhener/goshs/v22.1.4 or later
- goshs.de/goshs/v22.1.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/patrickhener/goshs/v2Go | 2.1.3 ≤ v < 2.1.4 | 2.1.4 |
| goshs.de/goshs/v2Go | 2.1.3 ≤ v < 2.1.4 | 2.1.4 |
| goshs.de/goshsGo | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.