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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-07-28T22:12:04.830Z
- Modified: 2026-10-23T23:10:00.157Z
- Also known as: GHSA-964w-f6gj-5236, GO-2026-6134
- Weaknesses: CWE-22, CWE-41, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- goshs-labs goshs: < 2.1.5
- github.com/patrickhener/goshs/v2 (Go): before 2.1.5-0.20260727065949-f3ef599e4091
- goshs.de/goshs/v2 (Go): before 2.1.5-0.20260727065949-f3ef599e4091
- github.com/patrickhener/goshs (Go): up to 1.1.4; all versions
- goshs.de/goshs (Go): up to 1.1.4; all versions

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/goshs-labs/goshs/security/advisories/GHSA-964w-f6gj-5236> (advisory, web)
- <https://github.com/goshs-labs/goshs/pull/222> (web)
- <https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa> (web)
- <https://github.com/goshs-labs/goshs> (package)

## Sources

- CVE List: [CVE-2026-66064](https://www.cve.org/CVERecord?id=CVE-2026-66064), CVE Terms of Use, modified 2026-07-29
- GitHub Advisory Database: [GHSA-964w-f6gj-5236](https://github.com/advisories/GHSA-964w-f6gj-5236), CC-BY-4.0, modified 2026-08-18
- Go Vulnerability Database: [GO-2026-6134](https://pkg.go.dev/vuln/GO-2026-6134), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-66064](https://nvd.nist.gov/vuln/detail/CVE-2026-66064), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-66064 · Whole record: https://cve.day/CVE-2026-66064.json · Rebuilt by cve.day 2026-11-25T22:59:30.397Z
