CVE-2026-35471 json
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs
published 2026-04-03 7 mo ago modified 2026-07-24 3 mo ago also GHSA-6qcc-6q27-whp8 , GO-2026-5186 , EUVD-2026-19539
- cvss
- 9.8
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.3, tdeleteFile() missing return after path traversal check. This vulnerability is fixed in 2.0.0-beta.3.
Patch / fix
- go github.com/patrickhener/goshs 1.1.5-0.20260401172448-237f3af891a9
- goshs goshs 2.0.0
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
- goshs openSUSE Tumbleweed 2.0.0-1.1
opensuse advisories openSUSE-SU-2026:21483-1openSUSE-SU-2026:10542-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 7 mo ago
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/patrickhener/goshs/security/advisories/GHSA-6qcc-6q27-whp8 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/patrickhener/goshs | <1.1.5-0.20260401172448-237f3af891a9 |
1.1.5-0.20260401172448-237f3af891a9 |
Affected products
- patrickhener goshs
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/patrickhener/goshs/commit/237f3af891a90df9b903b85f1cd3438040ca261a
web, patch
-
github.com
/patrickhener/goshs/security/advisories/GHSA-6qcc-6q27-whp8
web, exploit, mitigation, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-35471
advisory
-
github.com
/patrickhener/goshs
package
Sources
- CVE List CVE-2026-35471
- GitHub Advisory GHSA-6qcc-6q27-whp8
- NVD CVE-2026-35471
- OSV GO-2026-5186
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.