cve.bz

CVE-2026-40883

6.1 mediumEPSS 0.1%

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.

CVSS 4.0
6.1CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
8.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
EPSS
0.1% chance of exploitation in the next 30 days; higher than 3% of CVEs (scores of 2026-10-25)
CWE
CWE-352
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jrq5-hg6x-j6g3Gogithub.com/patrickhener/goshs/v2>=2.0.0-beta.4 <2.0.0-beta.62.0.0-beta.6
GO-2026-5479Gogithub.com/patrickhener/goshsall versionsno fix published
GO-2026-5479Gogithub.com/patrickhener/goshs/v2>=2.0.0-beta.4 <2.0.0-beta.62.0.0-beta.6

References

Check your stackJSON