CVE-2026-35471: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs
Analyzed
AliasesGHSA-6qcc-6q27-whp8GO-2026-5186
Published 06-04-2026Last modified 07-04-2026
Vulnerability summary
CVE-2026-35471 is a critical (CVSS 9.8) Path Traversal vulnerability in goshs. EPSS estimates a 0.69% chance of exploitation in the next 30 days, higher than 52% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.0 (CVE.org)EPSS score
0.69%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 06-04-2026PublishedVulnerability first disclosed.
- 07-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 versionCritical 9.8Preferred score · CVE.org (CNA)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · GoEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.69%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.68% on 22-09-2026
22-09-202622-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundGoshs
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Github.com/patrickhener1 product
- goshs< 1.1.5-0.20260401172448-237f3af891a9
Goshs1 product
- goshs< 2.0.0 | 2.0.0:beta1 | 2.0.0:beta2
Patrickhener1 product
- goshs< 2.0.0-beta.3
3 vendors · 3 products
References
4 links- github.com/patrickhener/goshs/security/advisories/GHSA-6qcc-6q27-whp8X Refsource CONFIRMWEBAdvisoryExploitMitigationVendor Advisory