Vulnerability · Published Jul 28, 2026 · Assigned by GitHub_M
CVE-2026-66063goshs has a Path Traversal issue
Medium 6.5
In plain English
A medium-severity path traversal in goshs from goshs-labs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/patrickhener/goshs | no fix listed | GHSA-wg2q-39h6-66x9 |
| Go | github.com/patrickhener/goshs | no fix listed | GO-2026-6137 |
| Go | github.com/patrickhener/goshs/v2 | 2.1.5-0.20260727065949-f3ef599e4091 | GHSA-wg2q-39h6-66x9 |
| Go | goshs.de/goshs | no fix listed | GHSA-wg2q-39h6-66x9 |
| Go | goshs.de/goshs | no fix listed | GO-2026-6137 |
| Go | goshs.de/goshs/v2 | 2.1.5-0.20260727065949-f3ef599e4091 | GHSA-wg2q-39h6-66x9 |
| Go | goshs.de/goshs/v2 | 2.1.5-0.20260727065949-f3ef599e4091 | GO-2026-6137 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| goshs-labs | goshs | < 2.1.5 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N