Skip to main content
VulnerabilityPublished

CVE-2026-40883: patrickhener goshs · Cross-Site Request Forgery (CSRF)

Affects patrickhener goshsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.1 Medium : upgrade to 2.0.0-beta.6 when convenient.

Data as of 30 Oct 2026, 20:25 UTC

CVSS 4.0 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0.0-beta.6
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade patrickhener goshs to 2.0.0-beta.6.

Affected software

ProductAffectedFixed in
patrickhenergoshsAffected
  • >=2.0.0-beta.4 <2.0.0-beta.6
Fixed in
  • 2.0.0-beta.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade goshs to version 2.0.0-beta.6 or later where this CSRF vulnerability is fixed. Until then, users should avoid using vulnerable versions in environments where untrusted web content can be accessed by authenticated users.

Description

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.

References

Community reviews

Loading reviews…