Patrickhener goshs
goshs route not protected, allows command execution
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.
First public PoC
29 daysafter publication · 4 Jun 2025
Public PoCs11 on GitHub
CVSS9.4critical · scored by CNA · CWE-284
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
patrickhener goshs
- >= 0.3.4, < 1.0.5
Fixed in 1.0.5
Mitigation
Upgrade goshs to 1.0.5 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 29 days after publication; not in CISA KEV. First PoC: Guilhem7/CVE-2025-46816 (created 4 Jun 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Guilhem7/CVE-2025-46816 | 4 Jun 2025 +29 d | 4 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.