PT-2026-30021 · Goshs · Goshs

Autobot23920

·

Published

2026-04-03

·

Updated

2026-04-14

·

CVE-2026-35392

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions goshs (affected versions not specified)
Description goshs is susceptible to a critical path traversal flaw in the PUT upload functionality. The PUT upload process lacks proper path sanitization, allowing attackers to write arbitrary files to the system. The vulnerability resides in the httpserver/updown.go file, specifically lines 20-69, where the req.URL.Path is used directly to construct the save path without any validation or sanitization. This allows for the creation of files outside the intended webroot, potentially leading to system compromise. The API endpoint ''/'' is vulnerable, utilizing the PUT method. The vulnerable parameter is req.URL.Path. A proof-of-concept (PoC) demonstrates the ability to overwrite files on the system using URL-encoded '..' sequences to traverse the file system.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2026-35392
GHSA-G8MV-VP7J-QP64
OPENSUSE-SU-2026:10542-1

Affected Products

Goshs