Intel

AIKIDO-2026-38700

electron is vulnerable to Use After Free

Use After FreeCVE-2026-9126 Published 4 days ago

88

High Risk

This Affects:

JSelectron
40.0.0 - 40.10.2
Fixed in 40.10.3
41.0.0 - 41.7.1
Fixed in 41.7.2
Are you affected? Scan for Free

TL;DR

electron's embedded Chromium DOM can free element attribute storage while batch attribute updates still reference it. Crafted HTML that manipulates element attributes during batch notifications can trigger the use-after-free. Pre-fix versions risk sandboxed arbitrary code execution. The backport uses index-based cloning, stronger attribute batch checks, forbidden event dispatch scopes, and safer slider element construction.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

electron is vulnerable to Use After Free in versions 40.0.0 - 40.10.2 and 41.0.0 - 41.7.1.

How to fix this

Upgrade the electron library to the patch version.