{"id":"CVE-2026-40885","state":"PUBLISHED","title":"goshs: Public collaborator feed leaks .goshs ACL credentials and enables unauthorized access","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.","publishedAt":"2026-04-21T19:40:37.272Z","updatedAt":"2026-04-21T20:05:26.627Z","severity":{"score":7.7,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["patrickhener goshs"],"affected":[{"vendor":"patrickhener","product":"goshs","versions":[{"version":">= 2.0.0-beta.4, < 2.0.0-beta.6","status":"affected"}]}],"references":["https://github.com/patrickhener/goshs/security/advisories/GHSA-7h3j-592v-jcrp"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40885.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40885","state":"PUBLISHED","datePublished":"2026-04-21T19:40:37.272Z","dateUpdated":"2026-04-21T20:05:26.627Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-15T15:57:41.719Z"},"containers":{"cna":{"title":"goshs: Public collaborator feed leaks .goshs ACL credentials and enables unauthorized access","descriptions":[{"lang":"en","value":"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":[{"vendor":"patrickhener","product":"goshs","versions":[{"version":">= 2.0.0-beta.4, < 2.0.0-beta.6","status":"affected"}]}],"references":[{"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-7h3j-592v-jcrp","name":"https://github.com/patrickhener/goshs/security/advisories/GHSA-7h3j-592v-jcrp","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-21T19:40:37.272Z"},"source":{"advisory":"GHSA-7h3j-592v-jcrp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-7h3j-592v-jcrp","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-21T20:05:21.029819Z","id":"CVE-2026-40885","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-21T20:05:26.627Z"}}]}}}