Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. goshs.de/goshs/v2
  4. ›
  5. CVE-2026-66064

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

July 28, 2026

sendFile derives the served filename from the raw request path while opening the file from the cleaned path, so appending a trailing slash empties the derived name and defeats both the never-serve rule for the ACL file and the block list.

References

  • github.com/advisories/GHSA-964w-f6gj-5236
  • github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa
  • github.com/goshs-labs/goshs/pull/222
  • github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236
  • nvd.nist.gov/vuln/detail/CVE-2026-66064

Code Behaviors & Features

Detect and mitigate CVE-2026-66064 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.1.5-0.20260727065949-f3ef599e4091

Fixed versions

  • 2.1.5-0.20260727065949-f3ef599e4091

Solution

Upgrade to version 2.1.5-0.20260727065949-f3ef599e4091 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-41: Improper Resolution of Path Equivalence
  • CWE-863: Incorrect Authorization

Source file

go/goshs.de/goshs/v2/CVE-2026-66064.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:42 +0000.