cve.bz

CVE-2026-66064

5.3 mediumEPSS 0.4%

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.

CVSS 3.1
5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.4% chance of exploitation in the next 30 days; higher than 38% of CVEs (scores of 2026-10-25)
CWEs
CWE-41, CWE-863
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-964w-f6gj-5236Gogithub.com/patrickhener/goshs/v2<2.1.5-0.20260727065949-f3ef599e40912.1.5-0.20260727065949-f3ef599e4091
GHSA-964w-f6gj-5236Gogoshs.de/goshs/v2<2.1.5-0.20260727065949-f3ef599e40912.1.5-0.20260727065949-f3ef599e4091
GHSA-964w-f6gj-5236Gogithub.com/patrickhener/goshs<=1.1.4no fix published
GHSA-964w-f6gj-5236Gogoshs.de/goshs<=1.1.4no fix published
GO-2026-6134Gogithub.com/patrickhener/goshsall versionsno fix published
GO-2026-6134Gogoshs.de/goshsall versionsno fix published
GO-2026-6134Gogoshs.de/goshs/v2<2.1.5-0.20260727065949-f3ef599e40912.1.5-0.20260727065949-f3ef599e4091

References

Check your stackJSON