CVE-2026-62325
goshs is a feature-rich single-binary file server for red teamers …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/goshs-labs/goshs/security/advisories/GHSA-rjrw-mjq6-hpmm
- github.com/goshs-labs/goshs/commit/32f4a0e1790a709f722d0f3b2341f139d003180a
- github.com/goshs-labs/goshs/releases/tag/v2.1.4
- github.com/advisories/GHSA-rjrw-mjq6-hpmm
- nvd.nist.gov/vuln/detail/CVE-2026-62325
- cve.org/CVERecord?id=CVE-2026-62325
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.