CVE-2026-40883
Severity CVSS v4.0:
MEDIUM
Type:
CWE-352
Cross-Site Request Forgery (CSRF)
Publication date:
21/04/2026
Last modified:
27/04/2026
Description
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.
Impact
Base Score 4.0
6.10
Severity 4.0
MEDIUM
Base Score 3.x
8.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:goshs:goshs:2.0.0:beta4:*:*:*:go:*:* | ||
| cpe:2.3:a:goshs:goshs:2.0.0:beta5:*:*:*:go:*:* |
To consult the complete list of CPE names with products and versions, see this page



