CVE-2025-46816 - CVE House
Back to Database
Status published Critical CVE-2025-46816

goshs route not protected, allows command execution

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-46816

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

patrickhener

View all reports →

Affected Software

goshs
Vulnerable Versions:
>= 0.3.4, < 1.0.5

Timeline

Official Publish: May 6th, 2025
Last Modified: May 6th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Weaknesses (CWE)