Security mailing lists by PureSourceCode

CVE-2025-46816

CRITICAL 9.4CVSS 3.0

goshs route not protected, allows command execution

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.

Published
6 May 2025
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-284CWE-77
Also known as
GHSA-rwj2-w85g-5cmmGO-2025-3672
Sources
NVDJSONOSV GHSA-rwj2-w85g-5cmmJSONOSV GO-2025-3672JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.0 CRITICAL 9.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
OSV GitHub CVSS 3.0 CRITICAL 9.4 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/patrickhener/goshs >= 0.3.4, < 1.0.5 1.0.5

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 6 May 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 May 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 May 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.