CVE-2026-62325
CRITICAL 9.1CVSS 3.1goshs 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.
- Published
- 28 Jul 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-306
- Also known as
- GHSA-rjrw-mjq6-hpmmGO-2026-6132
- Sources
- NVDJSONOSV GHSA-rjrw-mjq6-hpmmJSONOSV GO-2026-6132JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/patrickhener/goshs/v2 | >= 2.1.3, < 2.1.4 | 2.1.4 |
| OSV | Go | goshs.de/goshs/v2 | >= 2.1.3, < 2.1.4 | 2.1.4 |
| OSV | Go | goshs.de/goshs | all versions |
References
- https://github.com/goshs-labs/goshs/commit/32f4a0e1790a709f722d0f3b2341f139d003180a · WEB
- https://github.com/goshs-labs/goshs/releases/tag/v2.1.4 · WEB
- https://github.com/goshs-labs/goshs/security/advisories/GHSA-rjrw-mjq6-hpmm · WEB, ADVISORY
- https://github.com/goshs-labs/goshs · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 28 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jul 2026)