> CVE-2023-39956 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2023-09-06 21:15
MODIFIED
2024-11-21 08:16
CVSS_SCORE V3
6.1
EPSS (Prob. Exploit)
0.49%
Top 57.2%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-03 OSV 🔗 2026-09-20

> DESCRIPTION

Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Electron apps that are launched as command line executables are impacted. Specifically this issue can only be exploited if the following conditions are met: 1. The app is launched with an attacker-controlled working directory and 2. The attacker has the ability to write files to that working directory. This makes the risk quite low, in fact normally issues of this kind are considered outside of our threat model as similar to Chromium we exclude Physically Local Attacks but given the ability for this issue to bypass certain protections like ASAR Integrity it is being treated with higher importance. This issue has been fixed in versions:`26.0.0-beta.13`, `25.4.1`, `24.7.1`, `23.3.13`, and `22.3.19`. There are no app side workarounds, users must update to a patched version of Electron.

> AFFECTED_PRODUCTS

Electronjs - Electron
< 22.3.9
Electronjs - Electron
>= 23.0.0 < 23.3.13
Electronjs - Electron
>= 24.0.0 < 24.7.1
Electronjs - Electron
>= 25.0.0 < 25.5.0
Electronjs - Electron
Version: 26.0.0

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
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
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
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
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
Low
Interruption partielle du service possible

> GITHUB SECURITY ADVISORY

GHSA-7x97-j373-85x5 MODERATE

Electron vulnerable to out-of-package code execution when launched with arbitrary cwd

AFFECTED PACKAGES:
NPM / electron
>= 26.0.0-alpha.1, < 26.0.0-beta.13
Fixed in: 26.0.0-beta.13
NPM / electron
>= 25.0.0-alpha.1, < 25.5.0
Fixed in: 25.5.0
NPM / electron
>= 24.0.0-alpha.1, < 24.7.1
Fixed in: 24.7.1
NPM / electron
>= 23.0.0-alpha.1, < 23.3.13
Fixed in: 23.3.13
NPM / electron
< 22.3.19
Fixed in: 22.3.19

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Electron: Out-of-package code execution when launched with arbitrary cwd

AFFECTED PACKAGES:
Unknown / Unknown
43 versions affected
ALIASES:
GHSA-7x97-j373-85x5

> HISTORIQUE DES MODIFICATIONS

Première apparition
06/09/2023 21:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:43
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME