{"id":"CVE-2026-66064","summary":"goshs has ACL Bypass & Path Traversal","details":"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.","aliases":["GHSA-964w-f6gj-5236"],"modified":"2026-08-01T03:33:00.661596040Z","published":"2026-07-28T22:12:04.830Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66064.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"2.1.5"}]}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-41","CWE-863"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66064.json"},{"type":"ADVISORY","url":"https://github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66064"},{"type":"FIX","url":"https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa"},{"type":"FIX","url":"https://github.com/goshs-labs/goshs/pull/222"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/goshs-labs/goshs","events":[{"introduced":"0"},{"fixed":"f3ef599e409151d1380866e47de8b1afb0bb54fa"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.9","v2.0.8","v2.0.7","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.1.4","1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0","v0.4.2","v0.4.1","v0.4.0","v0.3.9","v0.3.8","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.0","v0.1.9","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v0.1.0","v0.0.9","v0.0.8","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-66064.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}