{"id":"CVE-2026-40885","revision":"474218f7f5394f25a1911a8e340385d2","records":[{"revision":"474218f7f5394f25a1911a8e340385d2","observedAt":"2026-10-25T09:17:30.114+00:00","statement":{"source":"nvd","id":"CVE-2026-40885","aliases":[],"title":"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 fo…","description":"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.","state":0,"publishedAt":"2026-04-21T20:17:02.257+00:00","modifiedAt":"2026-06-17T10:45:49.407+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","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","score":7.7,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/patrickhener/goshs/security/advisories/GHSA-7h3j-592v-jcrp"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-40885","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-200","NVD-CWE-noinfo"],"productCriteria":["cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:*","cpe:2.3:a:goshs:goshs:2.0.0:beta5:*:*:*:go:*:*"],"sourceDates":{"published":"2026-04-21T20:17:02.257","lastModified":"2026-06-17T10:45:49.407"},"relatedAdvisories":[],"note":"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."},"key":"nvd:CVE-2026-40885","identifiers":["CVE-2026-40885"]},"retained":false,"historicalAffected":[]}],"coverage":[]}