Skip to main content
VulnerabilityPublished Updated

CVE-2026-40188: patrickhener goshs · Missing Write Protection for Parametric Data Values

Affects patrickhener goshsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.7 High : upgrade to 2.0.0-beta.4 soon.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0.0-beta.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 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 29 Oct 2026.

What to do

Upgrade patrickhener goshs to 2.0.0-beta.4.

Affected software

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

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.4 or later, where the vulnerability is fixed. Patch status is not explicitly confirmed beyond the version fix indication; therefore, check the vendor repository or official sources for the latest remediation guidance.

Description

goshs is a SimpleHTTPServer written in Go. From 1.0.7 to before 2.0.0-beta.4, the SFTP command rename sanitizes only the source path and not the destination, so it is possible to write outside of the root directory of the SFTP. This vulnerability is fixed in 2.0.0-beta.4.

References

Community reviews

Loading reviews…