CVE-2026-62325
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.
- CVSS 3.1
- 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - EPSS
- 0.4% chance of exploitation in the next 30 days; higher than 36% of CVEs (scores of 2026-10-25)
- CWE
- CWE-306
- Published
- Modified
- Record from
- the NVD, synced
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-rjrw-mjq6-hpmm | Go | github.com/patrickhener/goshs/v2 | >=2.1.3 <2.1.4 | 2.1.4 |
| GHSA-rjrw-mjq6-hpmm | Go | goshs.de/goshs/v2 | >=2.1.3 <2.1.4 | 2.1.4 |
| GO-2026-6132 | Go | goshs.de/goshs | all versions | no fix published |
| GO-2026-6132 | Go | goshs.de/goshs/v2 | >=2.1.3 <2.1.4 | 2.1.4 |