{"id":"CVE-2026-35393","published":"2026-04-06T20:50:25Z","modified":"2026-04-08T13:58:10Z","title":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs POST multipart upload","vendor":"patrickhener","product":"goshs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00664,"percentile":0.52702,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-jg56-wf8x-qrv5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":10.54},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"patrickhener","affectedVersions":[{"vendor":"patrickhener","product":"goshs","versions":["< 2.0.0-beta.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-04-08T13:57:06.850226Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/patrickhener/goshs","vulnerableRanges":["<1.1.5-0.20260401172448-237f3af891a9"],"patched":["1.1.5-0.20260401172448-237f3af891a9"],"from":["GHSA-jg56-wf8x-qrv5","GO-2026-5468"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal weakness (improper limitation of a pathname to a restricted directory) in the POST multipart upload handling of goshs, a SimpleHTTPServer written in Go, because the upload directory was not sanitised. An attacker with network access can exploit it without authentication or user interaction by submitting a crafted multipart upload, and this affects goshs versions prior to 2.0.0-beta.3.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:15Z"},"euvd":{"id":"EUVD-2026-19490","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-46816","published":"2025-05-06","fixed":"1.0.5","kev":false,"link":{"from":"CVE-2025-46816","to":"CVE-2026-35393","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/patrickhener/goshs","fromFixed":"1.0.5","toFixed":"1.1.5-0.20260401172448-237f3af891a9","daysApart":335}]}},{"cve":"CVE-2026-35392","published":"2026-04-06","fixed":"1.1.5-0.20260401172448-237f3af891a9","kev":false},{"cve":"CVE-2026-35393","published":"2026-04-06","fixed":"1.1.5-0.20260401172448-237f3af891a9","kev":false},{"cve":"CVE-2026-35471","published":"2026-04-06","fixed":"1.1.5-0.20260401172448-237f3af891a9","kev":false}],"package":"Go:github.com/patrickhener/goshs"}}