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, so it is possible to write outside of the root directory of the SFTP. This vulnerability is fixed in 2.0.0-beta.4.
Published:Apr 10, 2026
Last Modified:Apr 15, 2026
EPS:Apr 10, 2026
EPSS Score:0.00026
CVSS Score:7.7
Affected Products
Vendor
Product
Action
Vendor
Goshs
Product
Goshs
Goshs
Goshs
Vendor
Patrickhener
Product
Goshs
Patrickhener
Goshs
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
