CVE-2026-40188

Published: Apr 10, 2026 Last Modified: Apr 14, 2026
ExploitDB:
Other exploit source:
Google Dorks:
HIGH 7,7
Attack Vector: network
Attack Complexity: low
Privileges Required: low
User Interaction: none
Scope: changed
Confidentiality: none
Integrity: high
Availability: none

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0003
Percentile
0,1th
Updated

EPSS Score Trend (Last 6 Days)

1314

Missing Write Protection for Parametric Data Values

Draft
Common Consequences
Security Scopes Affected:
Availability
Potential Impacts:
Quality Degradation Dos: Resource Consumption (Other)
Applicable Platforms
Technologies: Sensor Hardware
View CWE Details
Application

Goshs by Goshs

cpe:2.3:a:goshs:goshs:2.0.0:beta1:*:*:*:go:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Goshs by Goshs

Version Range Affected
From 1.0.7 (inclusive)
To 2.0.0 (exclusive)
cpe:2.3:a:goshs:goshs:*:*:*:*:*:go:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Goshs by Goshs

cpe:2.3:a:goshs:goshs:2.0.0:beta2:*:*:*:go:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Goshs by Goshs

cpe:2.3:a:goshs:goshs:2.0.0:beta3:*:*:*:go:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://github.com/patrickhener/goshs/security/advisories/GHSA-2943-crp8-38xx
https://github.com/patrickhener/goshs/commit/141c188ce270ffbec087844a50e5e695b7…
https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4
https://github.com/patrickhener/goshs/security/advisories/GHSA-2943-crp8-38xx