Vulnerability Details CVE-2026-42091
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.0
EPSS Ranking 3.9%
CVSS Severity
CVSS v3 Score 6.5
Products affected by CVE-2026-42091
-
cpe:2.3:a:goshs:goshs:0.0.1
-
cpe:2.3:a:goshs:goshs:0.0.2
-
cpe:2.3:a:goshs:goshs:0.0.3
-
cpe:2.3:a:goshs:goshs:0.0.4
-
cpe:2.3:a:goshs:goshs:0.0.5
-
cpe:2.3:a:goshs:goshs:0.0.6
-
cpe:2.3:a:goshs:goshs:0.0.8
-
cpe:2.3:a:goshs:goshs:0.0.9
-
cpe:2.3:a:goshs:goshs:0.1.0
-
cpe:2.3:a:goshs:goshs:0.1.1
-
cpe:2.3:a:goshs:goshs:0.1.2
-
cpe:2.3:a:goshs:goshs:0.1.3
-
cpe:2.3:a:goshs:goshs:0.1.4
-
cpe:2.3:a:goshs:goshs:0.1.5
-
cpe:2.3:a:goshs:goshs:0.1.6
-
cpe:2.3:a:goshs:goshs:0.1.7
-
cpe:2.3:a:goshs:goshs:0.1.8
-
cpe:2.3:a:goshs:goshs:0.1.9
-
cpe:2.3:a:goshs:goshs:0.2.0
-
cpe:2.3:a:goshs:goshs:0.3.0
-
cpe:2.3:a:goshs:goshs:0.3.1
-
cpe:2.3:a:goshs:goshs:0.3.2
-
cpe:2.3:a:goshs:goshs:0.3.3
-
cpe:2.3:a:goshs:goshs:0.3.4
-
cpe:2.3:a:goshs:goshs:0.3.5
-
cpe:2.3:a:goshs:goshs:0.3.6
-
cpe:2.3:a:goshs:goshs:0.3.7
-
cpe:2.3:a:goshs:goshs:0.3.8
-
cpe:2.3:a:goshs:goshs:0.3.9
-
cpe:2.3:a:goshs:goshs:0.4.0
-
cpe:2.3:a:goshs:goshs:0.4.1
-
cpe:2.3:a:goshs:goshs:0.4.2
-
cpe:2.3:a:goshs:goshs:1.0.0
-
cpe:2.3:a:goshs:goshs:1.0.1
-
cpe:2.3:a:goshs:goshs:1.0.2
-
cpe:2.3:a:goshs:goshs:1.0.3
-
cpe:2.3:a:goshs:goshs:1.0.4
-
cpe:2.3:a:goshs:goshs:1.0.5
-
cpe:2.3:a:goshs:goshs:1.0.6
-
cpe:2.3:a:goshs:goshs:1.0.7
-
cpe:2.3:a:goshs:goshs:1.0.8
-
cpe:2.3:a:goshs:goshs:1.0.9
-
cpe:2.3:a:goshs:goshs:1.1.0
-
cpe:2.3:a:goshs:goshs:1.1.1
-
cpe:2.3:a:goshs:goshs:1.1.2
-
cpe:2.3:a:goshs:goshs:1.1.3
-
cpe:2.3:a:goshs:goshs:1.1.4
-
cpe:2.3:a:goshs:goshs:2.0.0
-
cpe:2.3:a:goshs:goshs:2.0.1