Vulnerability · Published Apr 2, 2026 · Assigned by GitHub_M

CVE-2026-34581goshs has Auth Bypass via Share Token

High 8.1

In plain English

A high-severity authentication bypass in goshs from patrickhener. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities).

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.4%top 65.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/patrickhener/goshsno fix listedGHSA-jgfx-74g2-9r6g
Gogithub.com/patrickhener/goshsno fix listedGO-2026-5469

Affected products (as reported)

VendorProductVersions
patrickhener goshs >= 1.1.0, < 2.0.0-beta.2

Weakness: CWE-288 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

References