What’s Vulnerable › Vulnerabilities
CVE-2026-34581: goshs has Auth Bypass via Share Token
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-02 · updated 2026-07-24
- Weakness: CWE-288
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.
Affected products
- patrickhener goshs: from 1.1.0 before 2.0.0; 2.0.0-beta1 — fixed in 2.0.0
How to fix
Upgrade to a fixed version: patrickhener goshs 2.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/patrickhener/goshs/commit/6fb224ed15c2ccc0c61a5ebe22f2401eb06e9216
- https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.2
- https://github.com/patrickhener/goshs/security/advisories/GHSA-jgfx-74g2-9r6g
Get alerted when CVE-2026-34581 or the next vulnerability affects your stack