{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-42091","published":"2026-05-04T18:16:31.210000Z","last_modified":"2026-10-26T19:10:00.163000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-352"],"cpes":[{"criteria":"cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:*","part":"a","vendor":"goshs","product":"goshs","version_end_excluding":"2.0.2"}],"cpes_truncated":false,"vendors":["goshs"],"products":["goshs/goshs"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rhf7-wvw3-vjvm","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-5625","ecosystem":"Go","name":"github.com/patrickhener/goshs","purl":"pkg:golang/github.com/patrickhener/goshs","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-rhf7-wvw3-vjvm","ecosystem":"Go","name":"github.com/patrickhener/goshs/v2","purl":"pkg:golang/github.com/patrickhener/goshs/v2","ranges":[{"introduced":"0","fixed":"2.0.2"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5625","ecosystem":"Go","name":"goshs.de/goshs","purl":"pkg:golang/goshs.de/goshs","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5625","ecosystem":"Go","name":"goshs.de/goshs/v2","purl":"pkg:golang/goshs.de/goshs/v2","ranges":[{"introduced":"0","fixed":"2.0.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2026-42091/","html_en":"/en/cve/CVE-2026-42091/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42091","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42091"},"untrusted":{"vendor_name":"Goshs","product_name":"Goshs","desc_en":"goshs is a SimpleHTTPServer written in Go. Prior to version 2.0.2, the PUT upload handler (httpserver/updown.go) lacks the CSRF token validation that was added to the POST upload handler during the CVE-2026-40883 fix. Combined with the unconditional Access-Control-Allow-Origin: * on the OPTIONS preflight handler (httpserver/server.go), any website can write arbitrary files to a goshs instance through the victim's browser — bypassing network isolation (e.g. localhost, internal network). This issue has been patched in version 2.0.2.","affected":[{"untrusted_vendor":"patrickhener","untrusted_product":"goshs","versions":[]}],"references":[{"url":"https://github.com/patrickhener/goshs/commit/0e715b94e10c3d1aa552276000f15f104dee2f32","tags":["Patch"]},{"url":"https://github.com/patrickhener/goshs/releases/tag/v2.0.2","tags":["Product","Release Notes"]},{"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-rhf7-wvw3-vjvm","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"}}]}