CVEvulnerability

CVE-2025-46816

9.4 CRITICAL Published 2025-05-06 Modified 2026-06-17 Official page ↗
Status
Deferred
Published
2025-05-06
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
9.4 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Weaknesses
CWE-284, CWE-77

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.

Related

Weakness · CWE (2)

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

References