CVE-2026-62325

goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884)

State
Published
Severity
9.1 Critical
Published
Jul 28, 2026
Updated
Jul 29, 2026
Reserved
Jul 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-306 Missing Authentication for Critical Function

Affected Products

ProductVersions
goshsgoshs-labs
  • >= 2.1.3, < 2.1.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.