> CVE-2026-40188 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-04-10 20:16
MODIFIED
2026-04-10 20:16
CVSS_SCORE V3
7.7
EPSS (Prob. Exploit)
0.39%
Top 68.2%
DATA SOURCES:
NVD 🔗 2026-04-10 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-10-28

> 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_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
EXPLOITABILITY
3.1
IMPACT
4.0

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-1314

> CWE DETAILED DESCRIPTIONS

CWE-1314: Missing Write Protection for Parametric Data Values - The device does not write-protect the parametric data values for sensors that scale the sensor value, allowing untrusted software to manipulate the apparent result and potentially damage hardware or cause operational failure.

> GITHUB SECURITY ADVISORY

GHSA-2943-crp8-38xx HIGH

goshs is Missing Write Protection for Parametric Data Values

AFFECTED PACKAGES:
GO / github.com/patrickhener/goshs
>= 1.0.7, <= 1.1.4

> HISTORIQUE DES MODIFICATIONS

Première apparition
10/04/2026 20:16
Source: NVD
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-1314: Missing Write Protection for Parametric Data Values - The device does not write-protect the parametric data values for sensors that scale the sensor value, allowing untrusted software to man...
Total des modifications: 1 Dernière mise à jour: 6 months ago

> REFERENCES

https://github.com/patrickhener/goshs/commit/141c188ce270ffbec087844a50e5e695b7d...
https://github.com/patrickhener/goshs/releases/tag/v2.0.0-beta.4
https://github.com/patrickhener/goshs/security/advisories/GHSA-2943-crp8-38xx
« BACK_TO_HOME