Skip to content

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

CriticalCVSS 9.8 EPSS 0.65%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
goshs < 2.0.0; = 2.0.0-beta1; = 2.0.0-beta2 2.0.0 Fixed
patrickhener goshs(Go) < 1.1.5-0.20260401172448-237f3af891a9 1.1.5-0.20260401172448-237f3af891a9 Fixed
patrickhener goshs = < 2.0.0-beta.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
patrickhener goshs(Go) < 1.1.5-0.20260401172448-237f3af891a9 1.1.5-0.20260401172448-237f3af891a9
patrickhener goshs = < 2.0.0-beta.3 No fix listed
goshs < 2.0.0 2.0.0
goshs = 2.0.0-beta1 No fix listed
goshs = 2.0.0-beta2 No fix listed

References