CSRF in Goshs
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 unc…
Vulnerability class: CSRF (Cross-Site Request Forgery)
EPSS: 0.000 (3.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
Affected products
- Goshs
- Patrickhener Goshs — versions < 2.0.2
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Product, x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-42091?
- CVE-2026-42091 is a medium-severity vulnerability in Goshs, classified under Cross-Site Request Forgery (CSRF). CVSS score: 6.5/10. Published 2026-05-04.
- How severe is CVE-2026-42091?
- Medium severity. CVSS v3 base score is 6.5 out of 10.