Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-66064 EUVD-2026-50083GHSA-964w-f6gj-5236GO-2026-6134

goshs has ACL Bypass & Path Traversal

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/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 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-964w-f6gj-5236
Go github.com/patrickhener/goshs all versions — GO-2026-6134
Go github.com/patrickhener/goshs/v2 < 2.1.5-0.20260727065949-f3ef599e4091 2.1.5-0.20260727065949-f3ef599e4091 GHSA-964w-f6gj-5236
Go goshs.de/goshs <= 1.1.4 — GHSA-964w-f6gj-5236
Go goshs.de/goshs all versions — GO-2026-6134
Go goshs.de/goshs/v2 < 2.1.5-0.20260727065949-f3ef599e4091 2.1.5-0.20260727065949-f3ef599e4091 GHSA-964w-f6gj-5236

Advisories 2

References