What’s Vulnerable › Vulnerabilities
CVE-2026-62325: goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884)
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-28 · updated 2026-10-23
- Weakness: CWE-306
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.
Affected products
- goshs-labs goshs: from 2.1.3, < 2.1.4
References
- https://github.com/goshs-labs/goshs/commit/32f4a0e1790a709f722d0f3b2341f139d003180a
- https://github.com/goshs-labs/goshs/releases/tag/v2.1.4
- https://github.com/goshs-labs/goshs/security/advisories/GHSA-rjrw-mjq6-hpmm
- https://github.com/goshs-labs/goshs/security/advisories/GHSA-rjrw-mjq6-hpmm
Get alerted when CVE-2026-62325 or the next vulnerability affects your stack