CVE-2026-66063goshs-labs goshs
Medium 6.5 No auth needed
Follow: this CVE · goshs-labs · goshs-labs goshs We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Jul 28, 2026
- Updated
- Oct 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for goshs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/patrickhener/goshs |
≤ 1.1.4 |
no fixed version | — |
| Go | github.com/patrickhener/goshs |
all |
no fixed version | — |
| Go | github.com/patrickhener/goshs/v2 |
< 2.1.5-0.20260727065949-f3ef599e4091 |
2.1.5-0.20260727065949-f3ef599e4091 |
go get github.com/patrickhener/goshs/v2@v2.1.5-0.20260727065949-f3ef599e4091 |
| Go | goshs.de/goshs |
≤ 1.1.4 |
no fixed version | — |
| Go | goshs.de/goshs |
all |
no fixed version | — |
| Go | goshs.de/goshs/v2 |
< 2.1.5-0.20260727065949-f3ef599e4091 |
2.1.5-0.20260727065949-f3ef599e4091 |
go get goshs.de/goshs/v2@v2.1.5-0.20260727065949-f3ef599e4091 |
| Go | goshs.de/goshs/v2 |
< 2.1.5-0.20260727065949-f3ef599e4091 |
2.1.5-0.20260727065949-f3ef599e4091 |
go get goshs.de/goshs/v2@v2.1.5-0.20260727065949-f3ef599e4091 |
Per OSV / GitHub Advisories (GHSA-wg2q-39h6-66x9, GO-2026-6137). Check the version in your lockfile before upgrading.
Affected products
- goshs-labs · goshs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23625-1 · Sep 4, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21761-1 · Sep 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.