{"id":"CVE-2026-66064","published":"2026-07-28T22:12:04Z","modified":"2026-07-29T15:24:11Z","title":"goshs has ACL Bypass & Path Traversal","vendor":"goshs-labs","product":"goshs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00445,"percentile":0.39536,"provenance":"source"},"cwes":[{"id":"CWE-41","name":"Improper Resolution of Path Equivalence"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/goshs-labs/goshs/pull/222","tags":["x_refsource_MISC"]},{"url":"https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa","tags":["x_refsource_MISC"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":7.91},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"goshs-labs","affectedVersions":[{"vendor":"goshs-labs","product":"goshs","versions":["< 2.1.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-29T14:44:31.270872Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/patrickhener/goshs/v2","vulnerableRanges":["<2.1.5-0.20260727065949-f3ef599e4091"],"patched":["2.1.5-0.20260727065949-f3ef599e4091"],"from":["GHSA-964w-f6gj-5236"],"provenance":"source"},{"ecosystem":"Go","package":"goshs.de/goshs/v2","vulnerableRanges":["<2.1.5-0.20260727065949-f3ef599e4091"],"patched":["2.1.5-0.20260727065949-f3ef599e4091"],"from":["GHSA-964w-f6gj-5236","GO-2026-6134"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/patrickhener/goshs","vulnerableRanges":["<=1.1.4","all versions"],"patched":[],"from":["GHSA-964w-f6gj-5236","GO-2026-6134"],"provenance":"source"},{"ecosystem":"Go","package":"goshs.de/goshs","vulnerableRanges":["<=1.1.4","all versions"],"patched":[],"from":["GHSA-964w-f6gj-5236","GO-2026-6134"],"provenance":"source"}],"summary":{"text":"The goshs file server (product goshs by goshs-labs) has a flaw in the httpserver/handler.go sendFile handler, where the file is opened using a cleaned path but the authorization check uses the raw request path, so a trailing slash can slip past ACL and block-list checks. An attacker with network access and no authentication or user interaction can send a crafted request with a trailing slash to read files that the .goshs ACL file or block list is meant to protect, exposing confidential data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:22Z"},"euvd":{"id":"EUVD-2026-50083","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-patrickhener-goshs-cve-2026-35471","parents":[{"from":"CVE-2026-54719","to":"CVE-2026-66064","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["httpserver/updown.go"],"commits":["https://github.com/goshs-labs/goshs/commit/7cf911a26ace737e1a55b7dc073e307a25f7fd1d","https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-62325","published":"2026-07-28","fixed":"2.1.4","kev":false,"link":{"from":"CVE-2026-62325","to":"CVE-2026-66064","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/patrickhener/goshs/v2","fromFixed":"2.1.4","toFixed":"2.1.5-0.20260727065949-f3ef599e4091","daysApart":0},{"kind":"version-step","provenance":"source","package":"Go:goshs.de/goshs/v2","fromFixed":"2.1.4","toFixed":"2.1.5-0.20260727065949-f3ef599e4091","daysApart":0}]}},{"cve":"CVE-2026-64863","published":"2026-07-28","fixed":"2.1.4","kev":false},{"cve":"CVE-2026-66063","published":"2026-07-28","fixed":"2.1.5-0.20260727065949-f3ef599e4091","kev":false},{"cve":"CVE-2026-66064","published":"2026-07-28","fixed":"2.1.5-0.20260727065949-f3ef599e4091","kev":false}],"package":"Go:github.com/patrickhener/goshs/v2"}}