CVE-2026-35392

CRITICAL

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

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 9.8
EPSS 0.0004
EPSS Percentile 11.8%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-22
Status published
Products (4)
goshs/goshs 2.0.0 beta1 (2 CPE variants)
goshs/goshs < 2.0.0
patrickhener/goshs 0 - 1.1.5-0.20260401172448-237f3af891a9Go
patrickhener/goshs < 2.0.0-beta.3
Published Apr 06, 2026
Tracked Since Apr 07, 2026