Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-35392 EUVD-2026-19488GHSA-g8mv-vp7j-qp64GO-2026-5394

goshs has an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs PUT Upload

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, PUT upload in httpserver/updown.go has no path sanitization. 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-g8mv-vp7j-qp64

Advisories 2

References