GHSA-wg2q-39h6-66x9: goshs has a Path Traversal issue
Summary
The goshs software has a path traversal vulnerability (a security flaw where attackers can access files outside the intended directory) in its file upload feature. The code splits filenames on path separators but fails to reject ".." (a notation that means "parent directory"), allowing an unauthenticated attacker to write files outside the web server's intended directory with a simple filename like "..".
Solution / Mitigation
Reject any upload filename that is "..", is empty after sanitisation, or resolves outside the upload folder; validate the final resolved destination rather than only transforming the input.
Vulnerability Details
EPSS: 0.0%
Yes
July 28, 2026
Classification
Affected Packages
Original source: https://github.com/advisories/GHSA-wg2q-39h6-66x9
First tracked: July 28, 2026 at 08:00 PM
Classified by LLM (prompt v3) · confidence: 95%