Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs POST multipart upload
Priority HIGH 82CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and GitHub.
Summary
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.3, the POST multipart upload directory not sanitized. This vulnerability is fixed in 2.0.0-beta.3.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0065 51st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed goshs (patrickhener): 2.0.0-beta.3github.com/patrickhener/goshs (Go): 1.1.5-0.20260401172448-237f3af891a9
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
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 |
|---|---|---|---|---|---|
| patrickhener | goshs | before 2.0.0-beta.3 | 2.0.0-beta.3 | Patch available | CNA |
| — | github.com/patrickhener/goshs (Go) | before 1.1.5-0.20260401172448-237f3af891a9 | 1.1.5-0.20260401172448-237f3af891a9 | Patch available | GHSA-jg56-wf8x-qrv5 |
- goshs Vendorpatrickhener Affected before 2.0.0-beta.3 Fixed in 2.0.0-beta.3 Patch available CNA
- github.com/patrickhener/goshs (Go) Vendor— Affected before 1.1.5-0.20260401172448-237f3af891a9 Fixed in 1.1.5-0.20260401172448-237f3af891a9 Patch available GHSA-jg56-wf8x-qrv5
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:* | before 2.0.0 | Vulnerable | patrickhener |
| cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:* | 2.0.0 beta1 | Vulnerable | patrickhener |
| cpe:2.3:a:goshs:goshs:2.0.0:beta2:*:*:*:go:*:* | 2.0.0 beta2 | Vulnerable | patrickhener |
- cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:* Versions before 2.0.0 Vulnerable ·patrickhener
- cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:* Versions 2.0.0 beta1 Vulnerable ·patrickhener
- cpe:2.3:a:goshs:goshs:2.0.0:beta2:*:*:*:go:*:* Versions 2.0.0 beta2 Vulnerable ·patrickhener
Remediation
- Fix · CNA goshs (patrickhener) Fixed in 2.0.0-beta.3
- Fix · GHSA-jg56-wf8x-qrv5 github.com/patrickhener/goshs (Go) Fixed in 1.1.5-0.20260401172448-237f3af891a9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-35393
- 2026-10-03 Alias added: GHSA-jg56-wf8x-qrv5
References
More patrickhener Goshs vulnerabilities
- TI-2026-29540 goshs: Empty-username SFTP password authentication bypass in goshs CVSS 3.1CRITICAL 9.8
- TI-2026-27601 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs CVSS 3.0CRITICAL 9.8
- TI-2026-27528 goshs has an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs PUT Upload CVSS 3.0CRITICAL 9.8
- TI-2026-29003 goshs has a file-based ACL authorization bypass in goshs state-changing routes CVSS 4.0CRITICAL 9.3
- TI-2026-29532 SFTP root escape via prefix-based path validation in goshs CVSS 4.0HIGH 8.7
- TI-2026-26829 goshs has Auth Bypass via Share Token CVSS 3.1HIGH 8.1
Sources
- CVE-2026-35393 · CVE Program
- CVE-2026-35393 · NVD
- FIRST EPSS
- GHSA-jg56-wf8x-qrv5 · 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