CVE-2026-66063
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.
- CVSS 3.1
- 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - EPSS
- 0.3% chance of exploitation in the next 30 days; higher than 27% of CVEs (scores of 2026-10-25)
- CWE
- CWE-22
- Published
- Modified
- Record from
- the NVD, synced
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-wg2q-39h6-66x9 | Go | goshs.de/goshs/v2 | <2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
| GHSA-wg2q-39h6-66x9 | Go | github.com/patrickhener/goshs/v2 | <2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |
| GHSA-wg2q-39h6-66x9 | Go | goshs.de/goshs | <=1.1.4 | no fix published |
| GHSA-wg2q-39h6-66x9 | Go | github.com/patrickhener/goshs | <=1.1.4 | no fix published |
| GO-2026-6137 | Go | github.com/patrickhener/goshs | all versions | no fix published |
| GO-2026-6137 | Go | goshs.de/goshs | all versions | no fix published |
| GO-2026-6137 | Go | goshs.de/goshs/v2 | <2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 |