Moderate severityNVD Advisory· Published Jul 28, 2026· Updated Jul 29, 2026
goshs has ACL Bypass & Path Traversal
CVE-2026-66064
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/patrickhener/goshs/v2Go | < 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
goshs.de/goshs/v2Go | < 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
github.com/patrickhener/goshsGo | <= 1.1.4 | — |
goshs.de/goshsGo | <= 1.1.4 | — |
Affected products
1Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-964w-f6gj-5236ghsaADVISORY
- github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54faghsax_refsource_MISCWEB
- github.com/goshs-labs/goshs/pull/222ghsax_refsource_MISCWEB
- github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.