CVE-2026-66064

goshs has ACL Bypass & Path Traversal

State
Published
Severity
5.3 Medium
Published
Jul 28, 2026
Updated
Jul 29, 2026
Reserved
Jul 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-41 Improper Resolution of Path Equivalence
  • CWE-863 Incorrect Authorization

Affected Products

ProductVersions
goshsgoshs-labs
  • < 2.1.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.