Ad

CVE-2026-40188

HIGH CVSS 3.1: 7.7 EPSS 0.03%
Updated Apr 10, 2026
goshs
Parameter Value
CVSS 7.7 (HIGH)
Affected Versions before 2.0.0
Fixed In 2.0.0
Type CWE-1314
Vendor goshs
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)