Skip to main content
VulnerabilityPublished

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

Affects patrickhener goshsSource CVE Database V5

0
Compare

Mentioned vulnerabilities

Not known to be exploited · CVSS 6.5 Medium : upgrade to 2.0.2 when convenient.

Data as of 31 Oct 2026, 20:20 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 May 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 31 Oct 2026.

What to do

Upgrade goshs and patrickhener/goshs to 2.0.2.

Affected software

ProductAffectedFixed in
patrickhenergoshsAffected
  • <2.0.2
Fixed in
  • 2.0.2
GitHubpatrickhener/goshspkg:github/patrickhener/goshsOther threatsAffected
  • <2.0.2
Fixed in
  • 2.0.2

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

AI-suggested

This vulnerability is fixed in goshs version 2.0.2. Users should upgrade to version 2.0.2 or later to ensure the PUT upload handler includes CSRF token validation and to prevent unauthorized file uploads. No additional mitigations are specified or required beyond applying this official fix.

Description

A Cross-Site Request Forgery (CSRF) vulnerability exists in goshs versions prior to 2.0.2. The PUT upload handler lacks CSRF token validation, allowing any website to write arbitrary files to a vulnerable goshs instance via a victim's browser. This is facilitated by an unconditional Access-Control-Allow-Origin: * header on the OPTIONS preflight handler, which bypasses network isolation protections. The issue has been addressed in goshs version 2.0.2.

References

Community reviews

Loading reviews…