ADVISORIES

Vulnerability

CVE-2025-46816

goshs is a SimpleHTTPServer written in Go. Starting in version 0.3.4 and prior to version 1.0.5, running goshs without arguments makes it possible for anyone to execute commands on the server. The function `dispatchReadPump` does not checks the option cli `-c`, thus allowing anyone to execute arbitrary command through the use of websockets. Version 1.0.5 fixes the issue.

3 advisories report this vulnerability, across 2 ecosystems.

Critical severity All Go 2openSUSE 1

Advisories

  • GHSA-rwj2-w85g-5cmm

    goshs route not protected, allows command execution

    Critical CVE-2025-46816 Go Updated 15 May 2025
  • GO-2025-3672

    goshs route not protected, allows command execution in github.com/patrickhener/goshs

    CVE-2025-46816 Go Updated 3 March 2026
  • openSUSE-SU-2025:15135-1

    govulncheck-vulndb-0.0.20250515T200012-1.1 on GA media

    CVE-2024-52290CVE-2024-8063CVE-2025-3757CVE-2025-3931 openSUSE Updated 5 February 2026

References