{"cve":"CVE-2026-66064","nvd":{"published":"2026-07-28T23:17:10.490","modified":"2026-10-23T23:10:00.157","status":"Deferred","description":"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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-41","CWE-863"],"references":["https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa","https://github.com/goshs-labs/goshs/pull/222","https://github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:27.712498749+00:00"},"epss":{"cve":"CVE-2026-66064","score":0.00445,"percentile":0.38399,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-964w-f6gj-5236","url":"https://osv.dev/vulnerability/GHSA-964w-f6gj-5236","summary":"goshs has ACL Bypass & Path Traversal","modified":"2026-08-18T15:10:57.615606344Z","packages":[{"ecosystem":"Go","name":"github.com/patrickhener/goshs/v2","purl":"pkg:golang/github.com/patrickhener/goshs/v2","ranges":["<2.1.5-0.20260727065949-f3ef599e4091"],"fixed":["2.1.5-0.20260727065949-f3ef599e4091"]},{"ecosystem":"Go","name":"goshs.de/goshs/v2","purl":"pkg:golang/goshs.de/goshs/v2","ranges":["<2.1.5-0.20260727065949-f3ef599e4091"],"fixed":["2.1.5-0.20260727065949-f3ef599e4091"]},{"ecosystem":"Go","name":"github.com/patrickhener/goshs","purl":"pkg:golang/github.com/patrickhener/goshs","ranges":["<=1.1.4"],"fixed":[]},{"ecosystem":"Go","name":"goshs.de/goshs","purl":"pkg:golang/goshs.de/goshs","ranges":["<=1.1.4"],"fixed":[]}]},{"id":"GO-2026-6134","url":"https://osv.dev/vulnerability/GO-2026-6134","summary":"goshs has ACL Bypass & Path Traversal in github.com/patrickhener/goshs","modified":"2026-08-18T15:00:21.463866874Z","packages":[{"ecosystem":"Go","name":"github.com/patrickhener/goshs","purl":"pkg:golang/github.com/patrickhener/goshs","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"goshs.de/goshs","purl":"pkg:golang/goshs.de/goshs","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"goshs.de/goshs/v2","purl":"pkg:golang/goshs.de/goshs/v2","ranges":["<2.1.5-0.20260727065949-f3ef599e4091"],"fixed":["2.1.5-0.20260727065949-f3ef599e4091"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}