Vulnérabilité dans electron (CVE-2026-70608)
Résumé
Vulnérabilité dans electron (CVE-2026-70608). Risque d'opérations non autorisées ou de divulgation. Exploitable via setWindowOpenHandler. Atténuation : mise à jour vers 39.8.10 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
A sandboxed iframe without the allow-popups keyword could still open a new window (or trigger setWindowOpenHandler) with no user interaction, because new-window navigations taking the OpenURL path did not apply the iframe sandbox popup restriction.
Apps that embed untrusted content in sandboxed iframes and rely on the absence of allow-popups to prevent window creation are affected. Apps that deny window creation in setWindowOpenHandler, or that do not embed untrusted content in sandboxed iframes, are not affected.
Workarounds
Return { action: 'deny' } from setWindowOpenHandler for any content you do not trust, rather than relying on the iframe sandbox alone.
Fixed Versions
42.0.141.10.339.8.10
For more information
If you have any questions or comments about this advisory, email Electron at security@electronjs.org
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-70608 a été découverte dans electron.
Des attaquants peuvent cibler un point d'entrée spécifique comme setWindowOpenHandler à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 7.2/10.
Action : mettez à jour electron vers 39.8.10 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « electron CVE-2026-70608 » sur le site de l'éditeur.
CVE-2026-70608 (electron) — CWE-693 / CVSS v3 7.2
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : setWindowOpenHandler
Correctif : 39.8.10 — appliquer immédiatement
Contournement : Return { action: 'deny' } from setWindowOpenHandler for any content you do not trust, rather than relying on the iframe sandbox alone.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-693) affecte electron. Les attaquants atteignent le code vulnérable via setWindowOpenHandler sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de electron. Surface d'attaque : setWindowOpenHandler.
Gravité : Élevée (CVSS 7.2/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 39.8.10.
Contournement : Return { action: 'deny' } from setWindowOpenHandler for any content you do not trust, rather than relying on the iframe sandbox alone.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'electron' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
electronを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Return `{ action: 'deny' }` from `setWindowOpenHandler` for any content you do not trust, rather than relying on the iframe sandbox alone.パッチが適用されるまでの応急処置として、Return
{ action: 'deny' }fromsetWindowOpenHandlerfor any content you do not trust, rather than relying on the iframe sandbox alone. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade electron to 39.8.10ステージング環境で 39.8.10 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com