NetSight
medium5.3

CVE-2026-66064

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/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 packages

EcosystemPackageAffectedFixed in
gogithub.com/patrickhener/goshs/v2<= 2.1.42.1.5-0.20260727065949-f3ef599e4091
gogoshs.de/goshs/v2<= 2.1.42.1.5-0.20260727065949-f3ef599e4091
gogithub.com/patrickhener/goshs<= 1.1.4none recorded
gogoshs.de/goshs<= 1.1.4none recorded

Weakness classification

References