Cross-Site Request Forgery in goshs HTTP Server by Patrick Hener
CVE-2026-40883
6.1MEDIUM
What is CVE-2026-40883?
The goshs HTTP server, from versions 2.0.0-beta.4 to 2.0.0-beta.5, is susceptible to a cross-site request forgery (CSRF) issue that allows external attackers to exploit its state-changing HTTP GET routes. This vulnerability arises due to the server's reliance on HTTP basic authentication without adequate CSRF, Origin, or Referer validation, permitting authenticated browsers to unintentionally execute harmful actions such as deleting files or creating directories. The issue has been remedied in version 2.0.0-beta.6.
Affected Version(s)
goshs >= 2.0.0-beta.4, < 2.0.0-beta.6
