CVE-2026-62325
goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884)
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut GHSA.
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/patrickhener/goshs/v2, goshs.de/goshs/v2 | 2.1.4 |
Alle 2 Einträge aus 1 Quelle zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/patrickhener/goshs/v2 | 2.1.4 |
| go::GitHub Security Advisory Go | goshs.de/goshs/v2 | 2.1.4 |