CVE Explorer
CVE-2026-40883
goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs contains a cross-site request forgery issue in its state-changing HTTP GET routes. An external attacker can cause an already authenticated browser to trigger destructive actions such as ?delete and ?mkdir because goshs relies on HTTP basic auth alone and performs no CSRF, Origin, or Referer validation for those routes. This vulnerability is fixed in 2.0.0-beta.6.
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.0-beta.4, < 2.0.0-beta.6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:43eda23e011814eb26decad97248191f0d7d2b9a204e3edc6fd29686d57ca0c9 · sha256:5c67a7d757daf81b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":6.1,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:43eda23e011814eb26decad97248191f0d7d2b9a204e3edc6fd29686d57ca0c9 · sha256:5c67a7d757daf81b… · /containers/cna/metrics/0/cvssV4_0
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:43eda23e011814eb26decad97248191f0d7d2b9a204e3edc6fd29686d57ca0c9 · sha256:5c67a7d757daf81b… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/patrickhener/goshs/security/advisories/GHSA-jrq5-hg6x-j6g3","tags":["x_refsource_CONFIRM"],"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-jrq5-hg6x-j6g3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:43eda23e011814eb26decad97248191f0d7d2b9a204e3edc6fd29686d57ca0c9 · sha256:5c67a7d757daf81b… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-jrq5-hg6x-j6g3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:43eda23e011814eb26decad97248191f0d7d2b9a204e3edc6fd29686d57ca0c9 · sha256:5c67a7d757daf81b… · /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.