CVE-2026-40188

HIGH
MEDIUM Priority: 0.02 BB Relevance: 65/100
Published: 2026-04-10 Modified: 2026-10-26 First seen: 2026-10-29 Status: active

Attack Surface

Network Low Complexity No Interaction Integ. Impact Scope Change

CVSS Vector Breakdown

AV: Network
AC: Low
PR: Low
UI: None
S: Changed
C: None
I: High
A: None

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.

Weakness Classification (1)

Affected Software (4)

VendorProductVersion
goshs goshs 1.0.7 – 2.0.0
goshs goshs 2.0.0
goshs goshs 2.0.0
goshs goshs 2.0.0

Bug Bounty Relevance

65 / 100
✓ Network accessible
✓ Low complexity
✓ No user interaction

CVSS Score

7.7 / 10.0 v3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

EPSS — Exploitation Probability

0.32%
Raw Score 0.003180
Percentile 24.7%
Date 2026-10-29

EPSS Trend

2026-10-29
0.00318
2026-10-28
0.00318

Intelligence Sources

nvd ref →