7.7

CVE-2026-40188: goshs is Missing Write Protection for Parametric Data Values

Analyzed
AliasesGHSA-2943-crp8-38xxGO-2026-4953
Published 10-04-2026Last modified 13-04-2026

Vulnerability summary

CVE-2026-40188 is a high (CVSS 7.7) vulnerability in goshs. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.7/10
010
High · v3.1 (CVE.org)
EPSS score
0.39%
0%100%
Low · +0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 10-04-2026
    PublishedVulnerability first disclosed.
  2. 13-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.39%

Chance of exploitation in the next 30 days

Percentile

32%

Versus all other CVEs

30-day change

Increase +0.07 pp

From 0.32% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Goshs

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Github.com/patrickhener1 product
  • goshs≥ 1.0.7, ≤ 1.1.4 | ≥ 1.0.7 (No fix recorded)
Goshs1 product
  • goshs≥ 1.0.7, < 2.0.0 | 2.0.0:beta1 | 2.0.0:beta2 | 2.0.0:beta3
Patrickhener1 product
  • goshs≥ 1.0.7, < 2.0.0-beta.4

3 vendors · 3 products

References

5 links