CVE-2025-46816 PUBLISHED CVSS 9.399999618530273 CRITICAL

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.

EPSS 0.16% · 36.4th percentile

Risk Scores

CVSS v3.0
9.399999618530273
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
EPSS Score
0.16%
36.4th percentile

Affected Products

VendorProductVersions
github.compatrickhener/goshs0.3.4, 0.3.4
patrickhenergoshs>= 0.3.4, < 1.0.5, >= 0.3.4, < 1.0.5

Timeline

References

Open in Interactive Console →