CVE-2026-66063 goshs has a Path Traversal issue
MediumCVSS 6.5
EPSS 0.34%
- 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/updown.go multipart upload handler split part.FileName() on / but did not reject .., allowing an unauthenticated upload with filename .. to create a file outside the served tree. This issue is fixed in version 2.1.5.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| goshs.de/goshs/v2(Go) | < 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
| patrickhener goshs(Go) | < 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
| goshs.de/goshs/v2(Go) | <= 1.1.4 | No fix listed |
| patrickhener goshs(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 |
| goshs.de/goshs/v2(Go) | <= 2.1.4 | No fix listed |
| patrickhener goshs(Go) | <= 2.1.4 | No fix listed |