CVE-2026-66064 goshs has ACL Bypass & Path Traversal
MediumCVSS 5.3
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| patrickhener goshs(Go) | < 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
| goshs.de/goshs/v2(Go) | < 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
| patrickhener goshs(Go) | <= 1.1.4 | No fix listed |
| goshs.de/goshs/v2(Go) | <= 1.1.4 | No fix listed |
| patrickhener goshs(Go) | All versions | No fix listed |
| goshs.de/goshs/v2(Go) | All versions | No fix listed |
| goshs-labs goshs | = < 2.1.5 | No fix listed |
| patrickhener goshs(Go) | <= 2.1.4 | No fix listed |
| goshs.de/goshs/v2(Go) | <= 2.1.4 | No fix listed |