CVE-2026-66064
MEDIUM 5.3CVSS 3.1goshs has ACL Bypass & Path Traversal
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.
- Published
- 28 Jul 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-41CWE-863
- Also known as
- GHSA-964w-f6gj-5236GO-2026-6134
- Sources
- NVDJSONOSV GHSA-964w-f6gj-5236JSONOSV GO-2026-6134JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/patrickhener/goshs/v2 | < 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
| OSV | Go | goshs.de/goshs/v2 | < 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
| OSV | Go | github.com/patrickhener/goshs | <= 1.1.4 | |
| OSV | Go | goshs.de/goshs | <= 1.1.4 | |
| OSV | Go | github.com/patrickhener/goshs | all versions | |
| OSV | Go | goshs.de/goshs | all versions |
References
- https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa · WEB
- https://github.com/goshs-labs/goshs/pull/222 · WEB
- https://github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236 · WEB, ADVISORY
- https://github.com/goshs-labs/goshs · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 28 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Jul 2026)