# CVE-2026-66063: goshs has a Path Traversal issue

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/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.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-07-28T22:07:15.558Z
- Modified: 2026-10-23T23:10:00.157Z
- Also known as: GHSA-wg2q-39h6-66x9, GO-2026-6137
- Weaknesses: CWE-22
- 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/updown.go multipart upload handler split part.FileName() on / but did not reject .., allowing an unauthenticated upload with filename .. to create a file outside the served tree. This issue is fixed in version 2.1.5.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/goshs-labs/goshs/security/advisories/GHSA-wg2q-39h6-66x9> (advisory, web)
- <https://github.com/goshs-labs/goshs/commit/f3ef599e409151d1380866e47de8b1afb0bb54fa> (web)
- <https://github.com/goshs-labs/goshs> (package)

## Sources

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

---

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