CVE-2026-66064

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.

Affected Software

VendorProductVersion RangeStatus
goshs-labsgoshs< 2.1.5affected

Weaknesses

  • CWE-41: CWE-41: Improper Resolution of Path Equivalence
  • CWE-863: CWE-863: Incorrect Authorization

References