Vulnerability

CVE-2025-46816

criticalCVSS 3.0 9.4Published 6 May 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /patrickhener/goshs/commit/160220974576afe5111485b8d12fd360…
  • github.com /patrickhener/goshs/security/advisories/GHSA-rwj2-w85g-5cmm

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning