CVE-2025-46816
CRITICALgoshs <1.0.5 - Command Injection
Title source: llmDescription
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.
Exploits (1)
Scores
CVSS v3
9.4
EPSS
0.0016
EPSS Percentile
36.3%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Details
CWE
CWE-284
CWE-77
Status
published
Products (2)
patrickhener/goshs
0.3.4 - 1.0.5Go
patrickhener/goshs
>= 0.3.4, < 1.0.5
Published
May 06, 2025
Tracked Since
Feb 18, 2026