CVE-2025-46816
published critical CVSS 3.0 · 9.4goshs route not protected, allows command execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patrickhener | — | goshs>= 0.3.4, < 1.0.5 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20250515T200012-1.1 | OPENSUSE-SU-2025:15135-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20250515T200012-1.1 | OPENSUSE-SU-2025:15135-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20250515T200012-1.1 | OPENSUSE-SU-2025:15135-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20250515T200012-1.1 | OPENSUSE-SU-2025:15135-1 |
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 advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| patrickhener | goshs | >= 0.3.4, < 1.0.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-284 CWE-284: Improper Access Control
- CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
2Provider assertions
2GitHub_M · cna
goshs route not protected, allows command execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 123107217a09f4135c47e71827316b693201daaeb5cdaaf68eb8ddb39079ba97
- Ingested
- 23 Sep 2026, 08:49:40 UTC
- Source record
- Official CVE record