Skip to main content
← All vulnerabilities
CVE-2026-40188GHSA-2943-CRP8-38XXGO-2026-4953

goshs is Missing Write Protection for Parametric Data Values

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0-beta.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • patrickhener goshs

    From 1.0.7 · fixed in 2.0.0-beta.4

  • github.com/patrickhener/goshsGo

    From 1.0.7 · through 1.1.4

  • github.com/patrickhener/goshsGo

    From 1.0.7

References 3

GitHub · patrickhener/goshs