CVE-2026-40883 MEDIUM

CVE-2026-40883: goshs: CSRF in state-changing GET routes enables authenticated file deletion and directory creation

Vendor Patrickhener
Product goshs
Weakness CWE-352 · CSRF
Published April 21, 2026
Last update April 21, 2026

CVSS base score

6.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

goshs is a SimpleHTTPServer written in Go. From 2.0.0-beta.4 to 2.0.0-beta.5, goshs contains a cross-site request forgery issue in its state-changing HTTP GET routes. An external attacker can cause an already authenticated browser to trigger destructive actions such as ?delete and ?mkdir because goshs relies on HTTP basic auth alone and performs no CSRF, Origin, or Referer validation for those routes. This vulnerability is fixed in 2.0.0-beta.6.

Key dates

02Disclosure timeline

April 21, 2026 CVE published
April 21, 2026 Record updated