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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236
X_Refsource_Misc x_refsource_misc
https://github.com/goshs-labs/goshs/pull/222
X_Refsource_Misc x_refsource_misc
https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa
Scores
CVSS v3
5.3
EPSS
0.0031
EPSS Percentile
23.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-41
CWE-863
Status
published
Products (5)
goshs/v2
0 - 2.1.5-0.20260727065949-f3ef599e4091Go
goshs-labs/goshs
< 2.1.5
goshs.de/goshs
0 - 1.1.4Go
patrickhener/goshs
0 - 1.1.4Go
patrickhener/goshs
0 - 2.1.5-0.20260727065949-f3ef599e4091Go
Published
Jul 28, 2026
Tracked Since
Jul 29, 2026