cvedb.io
CVE-2026-40884
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2026-04-21T20:17:02.107 · Last modified 2026-06-17T10:45:49.297

Summary

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.

Affected products

goshs — goshs

Does this affect you?

Add your gear to cvedb and we'll alert you only when goshs ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.