{"id":"CVE-2026-35471","summary":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs","details":"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.","aliases":["GHSA-6qcc-6q27-whp8","GO-2026-5186"],"modified":"2026-07-15T01:48:57.793432592Z","published":"2026-04-06T21:38:27.657Z","related":["openSUSE-SU-2026:10542-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35471.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35471.json"},{"type":"ADVISORY","url":"https://github.com/patrickhener/goshs/security/advisories/GHSA-6qcc-6q27-whp8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35471"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/goshs-labs/goshs","events":[{"introduced":"0"},{"fixed":"237f3af891a90df9b903b85f1cd3438040ca261a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.0.0-beta.3"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.1.4","v2.0.0-beta.2","v2.0.0-beta.1","1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0","v0.4.2","v0.4.1","v0.4.0","v0.3.9","v0.3.8","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.0","v0.1.9","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v0.1.0","v0.0.9","v0.0.8","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35471.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}