NetSight
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

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

Weakness classification

References