Live threats

All CVEs / Goshs

CVE-2026-40188Goshs

High 7.7

Priority
46
CVSS 3.1
7.7
EPSS
—
Auth required
Yes
Published
Apr 10, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1314
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Goshs.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/patrickhener/goshs ≥ 1.0.7 ≤ 1.1.4 no fixed version —
Go github.com/patrickhener/goshs ≥ 1.0.7 no fixed version —

Per OSV / GitHub Advisories (GHSA-2943-crp8-38xx, GO-2026-4953). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
goshsgoshs≥ 1.0.7 < 2.0.0
goshsgoshs2.0.0
goshsgoshs2.0.0
goshsgoshs2.0.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.