Vulnerability · Published Apr 6, 2026 · Assigned by GitHub_M

CVE-2026-35393Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in goshs POST multipart upload

Critical 9.8

In plain English

A critical-severity path traversal in goshs from patrickhener. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)9.8Critical
Exploit odds (30 days)0.7%top 48.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/patrickhener/goshs1.1.5-0.20260401172448-237f3af891a9GHSA-jg56-wf8x-qrv5
Gogithub.com/patrickhener/goshs1.1.5-0.20260401172448-237f3af891a9GO-2026-5468

Affected products (as reported)

VendorProductVersions
patrickhener goshs < 2.0.0-beta.3

Weakness: CWE-22 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References