CVE-2026-34581 Details
Description
goshs is a SimpleHTTPServer written in Go. From version 1.1.0 to before version 2.0.0-beta.2, when using the Share Token it is possible to bypass the limited selected file download with all the gosh functionalities, including code exec. This issue has been patched in version 2.0.0-beta.2.
An authentication bypass vulnerability has been identified in goshs, a SimpleHTTPServer written in Go. This issue affects versions 1.1.0 prior to 2.0.0-beta.2. When the Share Token is used, it is possible to bypass the restricted file download limitations and access all goshs functionalities, including executing code. The vulnerability arises because the BasicAuthMiddleware checks for a token before verifying credentials. If a valid token is present, the request is authorized without any authentication checks, allowing access to directory listings, file deletion, clipboard functions, WebSocket connections, and command execution via the CLI.
Users can upgrade to goshs version 2.0.0-beta.2 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-288 | Authentication Bypass Using an Alternate Path or Channel | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| goshs goshs | >= 1.1.0, < 2.0.0 2.0.0 beta1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 15, 2026 | Initial Analysis | [email protected] |
| Apr 2, 2026 | New CVE Received | [email protected] |