cve.bz

CVE-2025-46816

9.4 criticalEPSS 0.7%

Critical (9.4). EPSS 0.7% chance of exploitation in the next 30 days. Fixed in github.com/patrickhener/goshs 1.0.5.

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.

Severity

CVSS 3.0

9.4 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
EPSS
0.7% chance of exploitation in the next 30 days; higher than 54% of CVEs (scores of 2026-10-31)
CWEs
CWE-77, CWE-284
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rwj2-w85g-5cmmGogithub.com/patrickhener/goshs>=0.3.4 <1.0.51.0.5
GO-2025-3672Gogithub.com/patrickhener/goshs>=0.3.4 <1.0.51.0.5

References

Check your stackJSON