CVE-2026-62325
CRITICAL
9.1
CVSS 3.1
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.
Metadata
Severity & Metrics
9.1
CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| goshs-labs | goshs | — | >= 2.1.3, < 2.1.4 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-306 | cna | CWE-306: Missing Authentication for Critical Function |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 9.1 | CRITICAL | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
References (3)
- https://github.com/goshs-labs/goshs/security/advisories/GHSA-rjrw-mjq6-hpmm https://github.com/goshs-labs/goshs/security/advisories/GHSA-rjrw-mjq6-hpmm
- https://github.com/goshs-labs/goshs/commit/32f4a0e1790a709f722d0f3b2341f139d003180a https://github.com/goshs-labs/goshs/commit/32f4a0e1790a709f722d0f3b2341f139d003180a
- https://github.com/goshs-labs/goshs/releases/tag/v2.1.4 https://github.com/goshs-labs/goshs/releases/tag/v2.1.4