ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 2 ecosystems.

Medium severity All Go 2openSUSE 1

Advisories

  • GHSA-jrq5-hg6x-j6g3

    goshs has CSRF in state-changing GET routes enables authenticated file deletion and directory creation

    Moderate CVE-2026-40883 Go Updated 25 June 2026
  • GO-2026-5479

    goshs has CSRF in state-changing GET routes enables authenticated file deletion and directory creation in github.com/patrickhener/goshs

    CVE-2026-40883 Go Updated 25 June 2026
  • openSUSE-SU-2026:21483-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2016-11063CVE-2016-11066CVE-2016-11067CVE-2016-11068 openSUSE Updated 31 July 2026

References