goshs has a Path Traversal issue
Priority LOW 35CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00343 28th percentileScored 2026-11-07
Fix Fixed goshs (goshs-labs): 2.1.5goshs.de/goshs/v2 (Go): 2.1.5-0.20260727065949-f3ef599e4091+1 more product
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| goshs-labs | goshs | before 2.1.5 | 2.1.5 | Patch available | CNA |
| — | goshs.de/goshs/v2 (Go) | before 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 | Patch available | GHSA-wg2q-39h6-66x9 |
| — | github.com/patrickhener/goshs/v2 (Go) | before 2.1.5-0.20260727065949-f3ef599e4091 | 2.1.5-0.20260727065949-f3ef599e4091 | Patch available | GHSA-wg2q-39h6-66x9 |
| — | goshs.de/goshs (Go) | up to 1.1.4 | — | No fix listed | GHSA-wg2q-39h6-66x9 |
| — | github.com/patrickhener/goshs (Go) | up to 1.1.4 | — | No fix listed | GHSA-wg2q-39h6-66x9 |
- goshs Vendorgoshs-labs Affected before 2.1.5 Fixed in 2.1.5 Patch available CNA
- goshs.de/goshs/v2 (Go) Vendor— Affected before 2.1.5-0.20260727065949-f3ef599e4091 Fixed in 2.1.5-0.20260727065949-f3ef599e4091 Patch available GHSA-wg2q-39h6-66x9
- github.com/patrickhener/goshs/v2 (Go) Vendor— Affected before 2.1.5-0.20260727065949-f3ef599e4091 Fixed in 2.1.5-0.20260727065949-f3ef599e4091 Patch available GHSA-wg2q-39h6-66x9
- goshs.de/goshs (Go) Vendor— Affected up to 1.1.4 Fixed in — No fix listed GHSA-wg2q-39h6-66x9
- github.com/patrickhener/goshs (Go) Vendor— Affected up to 1.1.4 Fixed in — No fix listed GHSA-wg2q-39h6-66x9
Remediation
- Fix · CNA goshs (goshs-labs) Fixed in 2.1.5
- Fix · GHSA-wg2q-39h6-66x9 goshs.de/goshs/v2 (Go) Fixed in 2.1.5-0.20260727065949-f3ef599e4091 Advisory →
- Fix · GHSA-wg2q-39h6-66x9 github.com/patrickhener/goshs/v2 (Go) Fixed in 2.1.5-0.20260727065949-f3ef599e4091 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-66063
- 2026-10-03 Alias added: GHSA-wg2q-39h6-66x9
References
More goshs-labs vulnerabilities
- TI-2026-44497 goshs SFTP authentication bypass via empty password (incomplete fix of CVE-2026-40884) CVSS 3.1CRITICAL 9.1
- TI-2026-46372 goshs --no-delete WebDAV MOVE bypass allows file deletion/overwrite CVSS 3.1CRITICAL 9.1
- TI-2026-39533 Missing authorization in goshs-labs goshs CVSS 3.1HIGH 7.5
- TI-2026-47041 goshs has ACL Bypass & Path Traversal CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-66063 · CVE Program
- CVE-2026-66063 · NVD
- FIRST EPSS
- GHSA-wg2q-39h6-66x9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences