Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.1
CVE-2026-62325: goshs permits SFTP login with empty password
CVE-2026-62325 · published 3 months ago
Summary
Versions 2.1.3 through 2.1.4 of goshs let users connect to the SFTP service without providing a password, giving anyone access to files. This happens because the software does not correctly check for missing credentials. Upgrade to version 2.1.4 or later to close the gap.
What to do
- Update github.com patrickhener to version 2.1.4.
- Update goshs.de goshs to version 2.1.4.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| go | github.com | patrickhener |
2.1.3 Fix: upgrade to 2.1.4
|
| go | goshs.de | goshs |
2.1.3 Fix: upgrade to 2.1.4
|
Original advisory text
goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884)
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.
References
- https://github.com/goshs-labs/goshs/security/advisories/GHSA-rjrw-mjq6-hpmm Vendor Advisory
- https://github.com/goshs-labs/goshs/releases/tag/v2.1.4 URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62325... Vendor Advisory
- https://github.com/advisories/GHSA-rjrw-mjq6-hpmm
- https://nvd.nist.gov/vuln/detail/CVE-2026-62325 Vendor Advisory
- https://github.com/goshs-labs/goshs/commit/32f4a0e1790a709f722d0f3b2341f139d0031... Patch
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Type
CWE-306Missing Authentication for Critical Function
Timeline
Published28 Jul 2026
Updated19 Nov 2026
First seen28 Jul 2026
Track software like this
Free during beta