CVE-2026-34581
HIGH 8.1CVSS 3.1goshs has Auth Bypass via Share Token
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.
- Published
- 2 Apr 2026
- Last modified
- 24 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-288
- Also known as
- GHSA-jgfx-74g2-9r6gGO-2026-5469
- Sources
- NVDJSONOSV GHSA-jgfx-74g2-9r6gJSONOSV GO-2026-5469JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | goshs | goshscpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:* |
>= 1.1.0, < 2.0.0 | 2.0.0 |
| NVD | goshs | goshscpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:* |
= 2.0.0 | |
| OSV | Go | github.com/patrickhener/goshs | >= 1.1.0 |
References
- https://github.com/patrickhener/goshs/commit/6fb224ed15c2ccc0c61a5ebe22f2401eb06e9216 · Patch, WEB, FIX
- https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.2 · Product, Release Notes, WEB
- https://github.com/patrickhener/goshs/security/advisories/GHSA-jgfx-74g2-9r6g · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-34581 · ADVISORY
- https://github.com/patrickhener/goshs · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 2 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Apr 2026)