Skip to content
Fencer Vulns
critical 9.4

CVE-2025-46816 json

goshs route not protected, allows command execution

published 2025-05-06 18 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-13620 , GHSA-rwj2-w85g-5cmm , GO-2025-3672

cvss
9.4
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 55%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/patrickhener/goshs 1.0.5
  • goshs goshs 1.0.5
  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20250515T200012-1.1

opensuse advisories openSUSE-SU-2025:15135-1

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
18 mo ago

Exploit prediction

0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.0 9.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
GitHub 3.0 9.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Affected packages

ecosystem package affected fixed in
go github.com/patrickhener/goshs
>=0.3.4, <1.0.5
1.0.5

Affected products

  • patrickhener goshs

Classification

Weakness
  • CWE-284 Improper Access Control
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.