Inherit nodeIntegrationInWorker from the embedder for <webview> and window.open
fix: inherit nodeIntegrationInWorker from the embedder for <webview> and window.open (#52831)
Inherit nodeIntegrationInWorker from the embedder for <webview> and window.opencd34f3-fix-inherit-nodeintegrationinworker-from-the-embedder-for-cve-2026-102676fixinherit nodeintegrationinworker embedder webview window open
Committed by trop[bot]
commit message
fix: inherit nodeIntegrationInWorker from the embedder for <webview> and window.open (#52831)
The list of security options a <webview> guest always inherits from its
embedder, and the equivalent list child windows inherit from their parent,
omitted nodeIntegrationInWorker. As a result the webpreferences attribute
could set nodeIntegrationInWorker on a guest whose embedder had it disabled,
giving the guest's dedicated workers a Node environment the embedder itself
did not grant (and, with an unsandboxed embedder, dropping the guest out of
the sandbox). Add nodeIntegrationInWorker to both inheritance lists so a
guest can never be less secure than its embedder for this option.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Sam Attard <[email protected]>Editor assessment
This commit patches CVE-2026-102676. This branch's copy (PR #52831) repeats the model explanation: the inheritance lists omitted nodeIntegrationInWorker, the webpreferences attribute could set it on a guest whose embedder had it off, and the fix adds it to both lists. Subject, type and body are all clear, and the security reasoning is complete. Only the optional scope is missing. Structurally the header parses cleanly and the body is a single coherent paragraph, so the only deficiency is the absent scope - and in this case the subject is specific enough that a scope would add little beyond full CC form.