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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/goshs-labs/goshs/security/advisories/GHSA-wg2q-39h6-66x9
X_Refsource_Misc x_refsource_misc
https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa
Scores
CVSS v3
6.5
EPSS
0.0023
EPSS Percentile
14.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-22
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