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 VendorProductAffected 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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.1 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-306Missing Authentication for Critical Function
Timeline
Published28 Jul 2026
Updated19 Nov 2026
First seen28 Jul 2026
Sources
Track software like this
Free during beta