GHSA-c29w-qq4m-2gcv · Severity: critical · Ecosystem: go — goshs has an empty-username SFTP password authentication bypass
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.6, goshs contains an SFTP authentication bypass when the documented empty-username basic-auth syntax is used. If the server is started with -b ':pass' together with -sftp, goshs accepts that configuration but does not install any SFTP password handler. As a result, an unauthenticated network attacker can connect to the SFTP service and access files without a password. This vulnerability is fixed in 2.0.0-beta.6.
Conclusion & alert: CVE-2026-40884 is rated High Exploit Risk (60.3/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.06%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-22 | — | 0.06% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-c29w-qq4m-2gcv · Severity: critical · Ecosystem: go — goshs has an empty-username SFTP password authentication bypass
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| goshs | goshs | < 2.0.0 | cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:* |
| goshs | goshs | 2.0.0 | cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:* |
| goshs | goshs | 2.0.0 | cpe:2.3:a:goshs:goshs:2.0.0:beta2:*:*:*:go:*:* |
| goshs | goshs | 2.0.0 | cpe:2.3:a:goshs:goshs:2.0.0:beta3:*:*:*:go:*:* |
| goshs | goshs | 2.0.0 | cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:* |
| goshs | goshs | 2.0.0 | cpe:2.3:a:goshs:goshs:2.0.0:beta5:*:*:*:go:*:* |
| URL | Tags |
|---|---|
| https://github.com/patrickhener/goshs/security/advisories/GHSA-c29w-qq4m-2gcv | Exploit Vendor Advisory |