CVE-2026-66064 Details
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.
An ACL bypass vulnerability has been identified in the Goshs file server, specifically in versions through 2.1.4. The issue arises in the sendFile handler, which derives the authorization filename from the raw request path. This method can be manipulated by adding a trailing slash, which bypasses the .goshs ACL-file protection and block-list checks. The vulnerability is particularly concerning when the ACL is configured to block-only, a common usage scenario.
Users can upgrade to Goshs version 2.1.5, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 28, 2026CISA-ADP
Assessed Jul 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa | [email protected] | Source CodeVendor |
| https://github.com/goshs-labs/goshs/pull/222 | [email protected] | Issue TrackingVendor |
| https://github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-41 | Improper Resolution of Path Equivalence | [email protected] |
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| goshs-labs/goshs | <= 2.1.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 29, 2026 | CVE Modified | CISA-ADP |
| Jul 28, 2026 | New CVE Received | [email protected] |
Volerion