goshs has ACL Bypass & Path Traversal
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863, CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| goshs-labs | goshs | before 2.1.5 | 2.1.5 | Patch available | CNA |
| — | github.com/patrickhener/goshs/v2 (Go) | before 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 | Patch available | GHSA-964w-f6gj-5236 |
| — | goshs.de/goshs/v2 (Go) | before 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 | Patch available | GHSA-964w-f6gj-5236 |
| — | github.com/patrickhener/goshs (Go) | up to 1.1.4 | — | No fix listed | GHSA-964w-f6gj-5236 |
| — | goshs.de/goshs (Go) | up to 1.1.4 | — | No fix listed | GHSA-964w-f6gj-5236 |
- goshs Vendorgoshs-labs Affected before 2.1.5 Fixed in 2.1.5 Patch available CNA
- github.com/patrickhener/goshs/v2 (Go) Vendor— Affected before 2.1.5-0.20260727065949-f3ef599e4091 Fixed in 2.1.5-0.20260727065949-f3ef599e4091 Patch available GHSA-964w-f6gj-5236
- goshs.de/goshs/v2 (Go) Vendor— Affected before 2.1.5-0.20260727065949-f3ef599e4091 Fixed in 2.1.5-0.20260727065949-f3ef599e4091 Patch available GHSA-964w-f6gj-5236
- github.com/patrickhener/goshs (Go) Vendor— Affected up to 1.1.4 Fixed in — No fix listed GHSA-964w-f6gj-5236
- goshs.de/goshs (Go) Vendor— Affected up to 1.1.4 Fixed in — No fix listed GHSA-964w-f6gj-5236
Remediation
- Fix · CNA goshs (goshs-labs) Fixed in 2.1.5
- Fix · GHSA-964w-f6gj-5236 github.com/patrickhener/goshs/v2 (Go) Fixed in 2.1.5-0.20260727065949-f3ef599e4091 Advisory →
- Fix · GHSA-964w-f6gj-5236 goshs.de/goshs/v2 (Go) Fixed in 2.1.5-0.20260727065949-f3ef599e4091 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-66064
- 2026-10-03 Alias added: GHSA-964w-f6gj-5236
References
More goshs-labs vulnerabilities
- TI-2026-44497 goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884) CVSS 3.1CRITICAL 9.1
- TI-2026-46372 goshs --no-delete WebDAV MOVE bypass allows file deletion/overwrite CVSS 3.1CRITICAL 9.1
- TI-2026-39533 Missing authorization in goshs-labs goshs CVSS 3.1HIGH 7.5
- TI-2026-47040 goshs has a Path Traversal issue CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-66064 · CVE Program
- CVE-2026-66064 · NVD
- FIRST EPSS
- GHSA-964w-f6gj-5236 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences