Live threats

All CVEs / goshs-labs

CVE-2026-66064goshs-labs goshs

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Jul 28, 2026
Updated
Oct 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-41, CWE-863
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for goshs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/patrickhener/goshs ≤ 1.1.4 no fixed version —
Go github.com/patrickhener/goshs all no fixed version —
Go github.com/patrickhener/goshs/v2 < 2.1.5-0.20260727065949-f3ef599e4091 2.1.5-0.20260727065949-f3ef599e4091 go get github.com/patrickhener/goshs/v2@v2.1.5-0.20260727065949-f3ef599e4091
Go goshs.de/goshs ≤ 1.1.4 no fixed version —
Go goshs.de/goshs all no fixed version —
Go goshs.de/goshs/v2 < 2.1.5-0.20260727065949-f3ef599e4091 2.1.5-0.20260727065949-f3ef599e4091 go get goshs.de/goshs/v2@v2.1.5-0.20260727065949-f3ef599e4091
Go goshs.de/goshs/v2 < 2.1.5-0.20260727065949-f3ef599e4091 2.1.5-0.20260727065949-f3ef599e4091 go get goshs.de/goshs/v2@v2.1.5-0.20260727065949-f3ef599e4091

Per OSV / GitHub Advisories (GHSA-964w-f6gj-5236, GO-2026-6134). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.