CVE-2026-40188
published high CVSS 3.1 · 7.7goshs is Missing Write Protection for Parametric Data Values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patrickhener | — | goshs>= 1.0.7, < 2.0.0-beta.4 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | goshsaarch64 | Advisory build | 2.0.0-1.1 | OPENSUSE-SU-2026:10542-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | goshsppc64le | Advisory build | 2.0.0-1.1 | OPENSUSE-SU-2026:10542-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | goshss390x | Advisory build | 2.0.0-1.1 | OPENSUSE-SU-2026:10542-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | goshsx86_64 | Advisory build | 2.0.0-1.1 | OPENSUSE-SU-2026:10542-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| patrickhener | goshs | >= 1.0.7, < 2.0.0-beta.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1314 CWE-1314: Missing Write Protection for Parametric Data Values
References
3Provider assertions
2GitHub_M · cna
goshs is Missing Write Protection for Parametric Data Values
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 44960a5bb6c43f9d5a800504f8bd0a6a5d4eab90e0443a124b9ef561a95cf2b0
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record