CVE-2025-46816 json
goshs route not protected, allows command execution
published last yr. modified 4mo 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
Is CVE-2025-46816 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-09).
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
References
Sources
- CVE List CVE-2025-46816
- GitHub Advisory GHSA-rwj2-w85g-5cmm
- NVD CVE-2025-46816
- OSV GO-2025-3672
Fencer Intel 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.