CVE-2026-66064
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.3
CVSS: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)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-964w-f6gj-5236 | 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/v2 | <2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
| GHSA-964w-f6gj-5236 | Go | github.com/patrickhener/goshs | <=1.1.4 | no fix published |
| GHSA-964w-f6gj-5236 | Go | goshs.de/goshs | <=1.1.4 | no fix published |
| GO-2026-6134 | Go | github.com/patrickhener/goshs | all versions | no fix published |
| GO-2026-6134 | Go | goshs.de/goshs | all versions | no fix published |
| GO-2026-6134 | Go | goshs.de/goshs/v2 | <2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |