What’s Vulnerable › Vulnerabilities
CVE-2026-66064: goshs has ACL Bypass & Path Traversal
- Severity: medium (CVSS 5.3 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: none known
- Published: 2026-07-28 · updated 2026-10-23
- Weakness: CWE-41
Description
goshs is a feature-rich single-binary file server for red teamers and developers. Prior to 2.1.5, the httpserver/handler.go sendFile handler opened files using a cleaned path but derived the authorization filename from raw req.URL.Path, so a trailing slash could bypass .goshs ACL-file protection and block-list checks. This issue is fixed in version 2.1.5.
Affected products
- goshs-labs goshs: before 2.1.5
References
- https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa
- https://github.com/goshs-labs/goshs/pull/222
- https://github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236
Get alerted when CVE-2026-66064 or the next vulnerability affects your stack