PT-2026-36883 · Goshs · Goshs

·

CVE-2026-42091

·

Published

2026-04-23

·

Updated

2026-07-30

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions goshs versions prior to 2.0.2
Description The PUT upload handler in httpserver/updown.go lacks Cross-Site Request Forgery (CSRF) token validation. CSRF is a type of attack that tricks a victim into submitting a malicious request. This deficiency, combined with the unconditional Access-Control-Allow-Origin: * header on the OPTIONS preflight handler in httpserver/server.go, allows any website to write arbitrary files to a goshs instance via a victim's browser, effectively bypassing network isolation such as localhost or internal networks.
Recommendations Update to version 2.0.2.

Exploit

Fix

CSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-42091
GHSA-RHF7-WVW3-VJVM
GO-2026-5625
OPENSUSE-SU-2026:21483-1

Affected Products

Goshs