{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40884","published":"2026-04-21T20:17:02.107000Z","last_modified":"2026-10-26T21:10:00.170000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-306"],"cpes":[{"criteria":"cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:*","part":"a","vendor":"goshs","product":"goshs","version_end_excluding":"2.0.0"},{"criteria":"cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:*","part":"a","vendor":"goshs","product":"goshs","version":"2.0.0"},{"criteria":"cpe:2.3:a:goshs:goshs:2.0.0:beta2:*:*:*:go:*:*","part":"a","vendor":"goshs","product":"goshs","version":"2.0.0"},{"criteria":"cpe:2.3:a:goshs:goshs:2.0.0:beta3:*:*:*:go:*:*","part":"a","vendor":"goshs","product":"goshs","version":"2.0.0"},{"criteria":"cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:*","part":"a","vendor":"goshs","product":"goshs","version":"2.0.0"},{"criteria":"cpe:2.3:a:goshs:goshs:2.0.0:beta5:*:*:*:go:*:*","part":"a","vendor":"goshs","product":"goshs","version":"2.0.0"}],"cpes_truncated":false,"vendors":["goshs"],"products":["goshs/goshs"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-c29w-qq4m-2gcv","ecosystem":"Go","name":"github.com/patrickhener/goshs","purl":"pkg:golang/github.com/patrickhener/goshs","ranges":[{"introduced":"0","last_affected":"1.1.4"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5303","ecosystem":"Go","name":"github.com/patrickhener/goshs","purl":"pkg:golang/github.com/patrickhener/goshs","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-c29w-qq4m-2gcv","ecosystem":"Go","name":"github.com/patrickhener/goshs/v2","purl":"pkg:golang/github.com/patrickhener/goshs/v2","ranges":[{"introduced":"0","fixed":"2.0.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5303","ecosystem":"Go","name":"github.com/patrickhener/goshs/v2","purl":"pkg:golang/github.com/patrickhener/goshs/v2","ranges":[{"introduced":"0","fixed":"2.0.0"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-40884/","html_en":"/en/cve/CVE-2026-40884/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40884","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40884"},"untrusted":{"vendor_name":"Goshs","product_name":"Goshs","desc_en":"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":[{"untrusted_vendor":"patrickhener","untrusted_product":"goshs","versions":[]}],"references":[{"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-c29w-qq4m-2gcv","tags":["Exploit","Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}