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…
Exact source revision recorded 27 Oct 2026 10:10:07 UTC. It does not establish the source's current position. Latest evidence.
nvd · CVE-2026-40884
Publishedgoshs 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.
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-306
Original publisher date fields
published: 2026-04-21T20:17:02.107
lastModified: 2026-10-26T21:10:00.170
6 source CPE criteria · context only
- cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:*
- cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:*
- cpe:2.3:a:goshs:goshs:2.0.0:beta2:*:*:*:go:*:*
- cpe:2.3:a:goshs:goshs:2.0.0:beta3:*:*:*:go:*:*
- cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:*
- cpe:2.3:a:goshs:goshs:2.0.0:beta5:*:*:*:go:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 21 Apr 2026 20:17:02 UTC
- Source modified
- 26 Oct 2026 21:10:00 UTC
- Observed here
- 27 Oct 2026 10:10:07 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: nvd · NIST NVD usage terms; underlying source attribution retained. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 3.1 · [email protected] · Secondary · 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H