{"id":"CVE-2026-40885","published":"2026-04-21T19:40:37Z","modified":"2026-04-21T20:05:26Z","title":"goshs: Public collaborator feed leaks .goshs ACL credentials and enables unauthorized access","vendor":"patrickhener","product":"goshs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00323,"percentile":0.25999,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-7h3j-592v-jcrp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":5.2},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"patrickhener","affectedVersions":[{"vendor":"patrickhener","product":"goshs","versions":[">= 2.0.0-beta.4, < 2.0.0-beta.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-21T20:05:21.029819Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/patrickhener/goshs/v2","vulnerableRanges":[">=2.0.0-beta.4, <2.0.0-beta.6"],"patched":["2.0.0-beta.6"],"from":["GHSA-7h3j-592v-jcrp","GO-2026-5221"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/patrickhener/goshs","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5221"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-24273","exploited":false,"provenance":"source"}}