Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-35471 EUVD-2026-19539GHSA-6qcc-6q27-whp8GO-2026-5186

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs

Published Apr 6, 2026 · Updated Apr 7, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
patrickhener goshs < 2.0.0-beta.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed goshs 2.0.0-1.1 openSUSE-SU-2026:10542-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/patrickhener/goshs < 1.1.5-0.20260401172448-237f3af891a9 1.1.5-0.20260401172448-237f3af891a9 GHSA-6qcc-6q27-whp8

Advisories 2

References