CVE-2026-35393: goshs - Path Traversal
- Cve: CVE-2026-35393
- Name: goshs - Path Traversal
- Description: 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.
- Impact: Remote attackers can write files outside intended directories, potentially leading to arbitrary file write and system compromise.
- Remediation: Update to version 2.0.0-beta.3 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00664
- Epss percentile: 0.52702
- Assignee: [email protected]
- Published at: 2026-04-06T21:16:21Z
- Age in days: 232
- Modified at: 2026-07-24T21:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-35393
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/patrickhener/goshs/security/advisories/GHSA-jg56-wf8x-qrv5 | nvd | 2026-04-06 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/patrickhener/goshs/security/advisories/GHSA-jg56-wf8x-qrv5 | nvd | Exploit, Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| goshs:goshs | < 2.0.0, = 2.0.0 beta1, = 2.0.0 beta2 | no | nvd | /v1/products/goshs/goshs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| patrickhener/goshs | package, security_advisory | yes | /v1/repositories/patrickhener/goshs |
| goshs-labs/goshs | fix | yes | /v1/repositories/goshs-labs/goshs |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-06
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts