Vulnerability · Published Jul 28, 2026 · Assigned by GitHub_M

CVE-2026-66064goshs has ACL Bypass & Path Traversal

Medium 5.3

In plain English

A medium-severity incorrect authorization in goshs from goshs-labs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 61.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/patrickhener/goshsno fix listedGO-2026-6134
Gogithub.com/patrickhener/goshsno fix listedGHSA-964w-f6gj-5236
Gogithub.com/patrickhener/goshs/v22.1.5-0.20260727065949-f3ef599e4091GHSA-964w-f6gj-5236
Gogoshs.de/goshsno fix listedGHSA-964w-f6gj-5236
Gogoshs.de/goshsno fix listedGO-2026-6134
Gogoshs.de/goshs/v22.1.5-0.20260727065949-f3ef599e4091GO-2026-6134
Gogoshs.de/goshs/v22.1.5-0.20260727065949-f3ef599e4091GHSA-964w-f6gj-5236

Affected products (as reported)

VendorProductVersions
goshs-labs goshs < 2.1.5

Weakness: CWE-41, CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References