CSRF in Goshs
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (8.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 8th percentile — 8.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.001
Affected products
- Goshs — versions 2.0.0
- Patrickhener Goshs — versions >= 2.0.0-beta.4, < 2.0.0-beta.6
Weakness classification (CWE)
References
- github.com/patrickhener/goshs/security/advisories/GHSA-jrq5-hg6x-j6g3 (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-40883?
- CVE-2026-40883 is a high-severity vulnerability in Goshs, classified under Cross-Site Request Forgery (CSRF). CVSS score: 8.1/10. Published 2026-04-21.
- How severe is CVE-2026-40883?
- High severity. CVSS v3 base score is 8.1 out of 10.