{"id":"CVE-2026-35471","state":"PUBLISHED","title":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs","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.","publishedAt":"2026-04-06T21:38:27.657Z","updatedAt":"2026-04-07T16:22:49.068Z","severity":{"score":9.8,"label":"Critical","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["patrickhener goshs"],"affected":[{"vendor":"patrickhener","product":"goshs","versions":[{"version":"< 2.0.0-beta.3","status":"affected"}]}],"references":["https://github.com/patrickhener/goshs/security/advisories/GHSA-6qcc-6q27-whp8"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35471.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35471","state":"PUBLISHED","datePublished":"2026-04-06T21:38:27.657Z","dateUpdated":"2026-04-07T16:22:49.068Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-02T20:49:44.453Z"},"containers":{"cna":{"title":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"patrickhener","product":"goshs","versions":[{"version":"< 2.0.0-beta.3","status":"affected"}]}],"references":[{"url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-6qcc-6q27-whp8","name":"https://github.com/patrickhener/goshs/security/advisories/GHSA-6qcc-6q27-whp8","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_0":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-06T21:38:27.657Z"},"source":{"advisory":"GHSA-6qcc-6q27-whp8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-07T16:22:40.861310Z","id":"CVE-2026-35471","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-07T16:22:49.068Z"}}]}}}