Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-66063 EUVD-2026-50082GHSA-wg2q-39h6-66x9GO-2026-6137

goshs has a Path Traversal issue

Published Jul 28, 2026 · Updated Jul 29, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
goshs-labs goshs < 2.1.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/patrickhener/goshs <= 1.1.4 — GHSA-wg2q-39h6-66x9
Go github.com/patrickhener/goshs all versions — GO-2026-6137
Go github.com/patrickhener/goshs/v2 < 2.1.5-0.20260727065949-f3ef599e4091 2.1.5-0.20260727065949-f3ef599e4091 GHSA-wg2q-39h6-66x9
Go goshs.de/goshs <= 1.1.4 — GHSA-wg2q-39h6-66x9
Go goshs.de/goshs all versions — GO-2026-6137
Go goshs.de/goshs/v2 < 2.1.5-0.20260727065949-f3ef599e4091 2.1.5-0.20260727065949-f3ef599e4091 GHSA-wg2q-39h6-66x9

Advisories 2

References