> CVE-2026-70603 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-05 16:17
MODIFIED
2026-08-05 16:17
CVSS_SCORE V3
6.0
EPSS (Prob. Exploit)
0.13%
Top 97.2%
DATA SOURCES:
NVD đź”— 2026-08-05 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-10-29 OSV đź”— 2026-08-12

> DESCRIPTION

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1, shell.openPath() did not reject paths containing embedded null bytes. Apps that perform string-only validation of file paths, for example checking the file extension, before passing them to shell.openPath() could be bypassed, allowing an attacker-controlled path to open a different file than the one that passed validation. Apps are only affected if they pass paths derived from untrusted input to shell.openPath() and rely on string-based validation without a filesystem check. This issue is fixed in versions 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1.

> AFFECTED_PRODUCTS

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

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
EXPLOITABILITY
0.8
IMPACT
5.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale 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é
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-20 CWE-158

> CWE DETAILED DESCRIPTIONS

CWE-20: Improper Input Validation - The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. | CWE-158: Improper Neutralization of Null Byte or NUL Character - The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes NUL characters or null bytes when they are sent to a downstream component.

> GITHUB SECURITY ADVISORY

GHSA-5c9j-mhmv-5xgx MODERATE

Electron: shell.openPath path validation bypass via embedded null byte

AFFECTED PACKAGES:
NPM / electron
< 39.8.6
Fixed in: 39.8.6
NPM / electron
>= 40.0.0-alpha.1, < 40.9.0
Fixed in: 40.9.0
NPM / electron
>= 41.0.0-alpha.1, < 41.1.1
Fixed in: 41.1.1
NPM / electron
>= 42.0.0-alpha.1, < 42.0.0-beta.1
Fixed in: 42.0.0-beta.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Electron: shell.openPath path validation bypass via embedded null byte

AFFECTED PACKAGES:
Unknown / Unknown
1904 versions affected
ALIASES:
GHSA-5c9j-mhmv-5xgx

> HISTORIQUE DES MODIFICATIONS

Première apparition
05/08/2026 16:17
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-20: Improper Input Validation - The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process...
Total des modifications: 1 Dernière mise à jour: 2 months ago

> REFERENCES

https://github.com/electron/electron/security/advisories/GHSA-5c9j-mhmv-5xgx
« BACK_TO_HOME