CVE-2026-40188

goshs is Missing Write Protection for Parametric Data Values

HIGH
7.7
CVSS Score
Published: April 10, 2026 at 07:43 PM UTC
Updated: October 26, 2026 at 09:10 PM UTC
2 products affected across 2 vendorsGoshsGoshs

Using goshs by patrickhener?

Get instant alerts when new vulnerabilities affect goshs - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.7
Exploit prediction
EPSS 0.3%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

1.0.7 ≤ v < 2.0.0-beta.4
Affected range stops below 2.0.0-beta.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.7HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-1314

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card