PT-2026-36883 · Goshs · Goshs
Patrickhener
·
Published
2026-04-23
·
Updated
2026-05-12
·
CVE-2026-42091
CVSS v3.1
6.5
Medium
| Vector | AV: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
Affected Products
Goshs