cbcvebase.
CVE-2026-40188
published 2026-04-10

CVE-2026-40188: 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…

PriorityP346high7.7CVSS 3.1
AVNACLPRLUINSCCNIHAN
EPSS
0.32%
23.5th percentile
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.

Affected

4 ranges
VendorProductVersion rangeFixed in
github.compatrickhener_goshs1.0.7 – 1.1.4
goshsgoshs
goshsgoshs>= 1.0.7 < 2.0.02.0.0
patrickhenergoshs
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.