CVE-2026-35393
goshs: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs POST multipart upload
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
goshs is a SimpleHTTPServer written in Go. Prior to 2.0.0-beta.3, the POST multipart upload directory not sanitized. This vulnerability is fixed in 2.0.0-beta.3.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/patrickhener/goshs | 1.1.5-0.20260401172448-237f3af891a9 |