CVE Explorer
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 issu
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"goshs","vendor":"patrickhener","versions":[{"status":"affected","version":"< 2.0.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:42a34b66c4b4418583164612743e53389744f9643b88bccc5509322405eb3c83 · sha256:6ae4ead3685a3851… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:42a34b66c4b4418583164612743e53389744f9643b88bccc5509322405eb3c83 · sha256:6ae4ead3685a3851… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-352","description":"CWE-352: Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:42a34b66c4b4418583164612743e53389744f9643b88bccc5509322405eb3c83 · sha256:6ae4ead3685a3851… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/patrickhener/goshs/commit/0e715b94e10c3d1aa552276000f15f104dee2f32","tags":["x_refsource_MISC"],"url":"https://github.com/patrickhener/goshs/commit/0e715b94e10c3d1aa552276000f15f104dee2f32"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:42a34b66c4b4418583164612743e53389744f9643b88bccc5509322405eb3c83 · sha256:6ae4ead3685a3851… · /containers/cna/references/1
{"name":"https://github.com/patrickhener/goshs/releases/tag/v2.0.2","tags":["x_refsource_MISC"],"url":"https://github.com/patrickhener/goshs/releases/tag/v2.0.2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:42a34b66c4b4418583164612743e53389744f9643b88bccc5509322405eb3c83 · sha256:6ae4ead3685a3851… · /containers/cna/references/2
{"name":"https://github.com/patrickhener/goshs/security/advisories/GHSA-rhf7-wvw3-vjvm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-rhf7-wvw3-vjvm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:42a34b66c4b4418583164612743e53389744f9643b88bccc5509322405eb3c83 · sha256:6ae4ead3685a3851… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-rhf7-wvw3-vjvm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:42a34b66c4b4418583164612743e53389744f9643b88bccc5509322405eb3c83 · sha256:6ae4ead3685a3851… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.