Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/patrickhener/goshs
  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. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.1.4

Solution

Unfortunately, there is no solution available yet.

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/github.com/patrickhener/goshs/CVE-2026-66064.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 08 Aug 2026 00:19:21 +0000.