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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-2943-crp8-38xx | goshs is Missing Write Protection for Parametric Data Values |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 10 Apr 2026 20:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | goshs is Missing Write Protection for Parametric Data Values | |
| Weaknesses | CWE-1314 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-04-10T19:43:45.197Z
Reserved: 2026-04-09T20:59:17.620Z
Link: CVE-2026-40188
No data.
Status : Received
Published: 2026-04-10T20:16:23.733
Modified: 2026-04-10T20:16:23.733
Link: CVE-2026-40188
No data.
OpenCVE Enrichment
No data.
Weaknesses
Github GHSA