{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40885","published":"2026-04-21T20:17:02.257000Z","last_modified":"2026-10-26T21:10:00.170000Z","status":"Analyzed","cvss":{"version":"4.0","score":7.7,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-200"],"cpes":[{"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":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2026-5221","ecosystem":"Go","name":"github.com/patrickhener/goshs","purl":"pkg:golang/github.com/patrickhener/goshs","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-7h3j-592v-jcrp","ecosystem":"Go","name":"github.com/patrickhener/goshs/v2","purl":"pkg:golang/github.com/patrickhener/goshs/v2","ranges":[{"introduced":"2.0.0-beta.4","fixed":"2.0.0-beta.6"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5221","ecosystem":"Go","name":"github.com/patrickhener/goshs/v2","purl":"pkg:golang/github.com/patrickhener/goshs/v2","ranges":[{"introduced":"2.0.0-beta.4","fixed":"2.0.0-beta.6"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":61,"links":{"html_es":"/es/cve/CVE-2026-40885/","html_en":"/en/cve/CVE-2026-40885/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40885","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40885"},"untrusted":{"vendor_name":"Goshs","product_name":"Goshs","desc_en":"goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs leaks file-based ACL credentials through its public collaborator feed when the server is deployed without global basic auth. Requests to .goshs-protected folders are logged before authorization is enforced, and the collaborator websocket broadcasts raw request headers, including Authorization. An unauthenticated observer can capture a victim's folder-specific basic-auth header and replay it to read, upload, overwrite, and delete files inside the protected subtree. 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-7h3j-592v-jcrp","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"}}]}