CVE-2025-46816

goshs route not protected, allows command execution

Published May 6, 2025 CVSS 3.0 · 9.4 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-13620 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.
Github GHSA Github GHSA GHSA-rwj2-w85g-5cmm goshs route not protected, allows command execution
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00035}

epss

{'score': 0.00037}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title goshs route not protected, allows command execution
Weaknesses CWE-284
CWE-77
References
Metrics cvssV3_0

{'score': 9.4, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 6, 2025, 7:23 PM
Reserved
Apr 30, 2025, 7:41 PM
Status
Deferred
Published
May 6, 2025, 7:16 PM
Modified
Jun 17, 2026, 9:26 AM