9.4

CVE-2025-46816: goshs route not protected, allows command execution

Deferred
AliasesGHSA-rwj2-w85g-5cmmGO-2025-3672
Published 06-05-2025Last modified 06-05-2025

Vulnerability summary

CVE-2025-46816 is a critical (CVSS 9.4) Command Injection vulnerability in patrickhener goshs. EPSS estimates a 0.74% chance of exploitation in the next 30 days, higher than 53.9% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.4/10
010
Critical · v3.0 (CVE.org)
EPSS score
0.74%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 06-05-2025
    PublishedVulnerability first disclosed.
  2. 06-05-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.74%

Chance of exploitation in the next 30 days

Percentile

54%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 0.69% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Github.com/patrickhener1 product
  • goshs≥ 0.3.4, < 1.0.5
Patrickhener1 product

2 vendors · 2 products

References

4 links