CVE-2026-34581
goshs has Auth Bypass via Share Token
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.
INFO
Published Date :
April 2, 2026, 7:21 p.m.
Last Modified :
April 15, 2026, 5:38 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update goshs to version 2.0.0-beta.2 or later.
- Disable Share Token functionality if update is not possible.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-34581.
| URL | Resource |
|---|---|
| https://github.com/patrickhener/goshs/commit/6fb224ed15c2ccc0c61a5ebe22f2401eb06e9216 | Patch |
| https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.2 | Product Release Notes |
| https://github.com/patrickhener/goshs/security/advisories/GHSA-jgfx-74g2-9r6g | Exploit Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-34581 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-34581
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-34581 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-34581 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 15, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:* versions from (including) 1.1.0 up to (excluding) 2.0.0 *cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:* Added Reference Type GitHub, Inc.: https://github.com/patrickhener/goshs/commit/6fb224ed15c2ccc0c61a5ebe22f2401eb06e9216 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.2 Types: Product, Release Notes Added Reference Type GitHub, Inc.: https://github.com/patrickhener/goshs/security/advisories/GHSA-jgfx-74g2-9r6g Types: Exploit, Vendor Advisory -
New CVE Received by [email protected]
Apr. 02, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N Added CWE CWE-288 Added Reference https://github.com/patrickhener/goshs/commit/6fb224ed15c2ccc0c61a5ebe22f2401eb06e9216 Added Reference https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.2 Added Reference https://github.com/patrickhener/goshs/security/advisories/GHSA-jgfx-74g2-9r6g