CVE Catalog

CVE-2026-66063

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

14th percentile - higher than 14% of all known CVEs

Summary

In the goshs file server before version 2.1.5, the multipart upload handler in httpserver/updown.go split part.FileName() on / but did not reject .., allowing an unauthenticated attacker to upload a file with a filename containing .. and create a file outside the served tree. This issue is fixed in version 2.1.5.

Risk Assessment

An unauthenticated attacker can write a file to an arbitrary location on the server, potentially leading to remote code execution or modification of critical files.

Recommendation

Update goshs to version 2.1.5 or later.

Other vulnerabilities in goshs

See all
Original NVD description (English source)

goshs is a feature-rich single-binary file server for red teamers and developers. Prior to 2.1.5, the httpserver/updown.go multipart upload handler split part.FileName() on / but did not reject .., allowing an unauthenticated upload with filename .. to create a file outside the served tree. This issue is fixed in version 2.1.5.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS