medium6.5
CVE-2026-66063
goshs is a feature-rich single-binary file server for red teamers and developers.
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | goshs.de/goshs/v2 | <= 2.1.4 | 2.1.5-0.20260727065949-f3ef599e4091 |
| go | github.com/patrickhener/goshs/v2 | <= 2.1.4 | 2.1.5-0.20260727065949-f3ef599e4091 |
| go | goshs.de/goshs | <= 1.1.4 | none recorded |
| go | github.com/patrickhener/goshs | <= 1.1.4 | none recorded |