CVE-2026-66064: CWE-41: Improper Resolution of Path Equivalence in goshs-labs goshs
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.
AI Analysis
Technical Summary
The goshs single-binary file server prior to version 2.1.5 contains a vulnerability in its sendFile handler (httpserver/handler.go) where files are opened using a cleaned path, but authorization checks use the raw req.URL.Path. This discrepancy allows an attacker to bypass .goshs ACL-file protection and block-list checks by appending a trailing slash to the URL path. This improper resolution of path equivalence is categorized under CWE-41 and CWE-863. The vulnerability has a CVSS 3.1 base score of 5.3 (medium severity). The issue is resolved in version 2.1.5.
Potential Impact
An attacker can bypass access control and block-list protections by manipulating the URL path with a trailing slash, potentially gaining unauthorized access to files that should be restricted. The confidentiality impact is limited to unauthorized file access, with no impact on integrity or availability reported.
Mitigation Recommendations
Upgrade to goshs version 2.1.5 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Patch status is not explicitly stated in the input data but the fix is confirmed in version 2.1.5.
CVE-2026-66064: CWE-41: Improper Resolution of Path Equivalence in goshs-labs goshs
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.
CVSS v3.1
Score 5.3medium
Affected software
goshs-labs
goshs
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The goshs single-binary file server prior to version 2.1.5 contains a vulnerability in its sendFile handler (httpserver/handler.go) where files are opened using a cleaned path, but authorization checks use the raw req.URL.Path. This discrepancy allows an attacker to bypass .goshs ACL-file protection and block-list checks by appending a trailing slash to the URL path. This improper resolution of path equivalence is categorized under CWE-41 and CWE-863. The vulnerability has a CVSS 3.1 base score of 5.3 (medium severity). The issue is resolved in version 2.1.5.
Potential Impact
An attacker can bypass access control and block-list protections by manipulating the URL path with a trailing slash, potentially gaining unauthorized access to files that should be restricted. The confidentiality impact is limited to unauthorized file access, with no impact on integrity or availability reported.
Mitigation Recommendations
Upgrade to goshs version 2.1.5 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is documented. Patch status is not explicitly stated in the input data but the fix is confirmed in version 2.1.5.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-23T23:25:28.897Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a692bbe9c2644c7f84c1498
Added to database: 07/28/2026, 22:22:54 UTC
Last enriched: 07/29/2026, 21:24:47 UTC
Last updated: 09/10/2026, 20:00:50 UTC
Views: 72
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.