goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| goshs-labs | goshs | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Goshs | Goshs |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-rjrw-mjq6-hpmm | goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884) |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.426% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Goshs
Goshs goshs |
|
| Vendors & Products |
Goshs
Goshs goshs |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884) | |
| Weaknesses | CWE-306 | |
| References |
| |
| Metrics |
cvssV3_1
|