Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-34773

Опубликовано: 03 апр. 2026
Источник: redhat
CVSS3: 4.7
EPSS Низкий

Описание

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, on Windows, app.setAsDefaultProtocolClient(protocol) did not validate the protocol name before writing to the registry. Apps that pass untrusted input as the protocol name may allow an attacker to write to arbitrary subkeys under HKCU\Software\Classes, potentially hijacking existing protocol handlers. Apps are only affected if they call app.setAsDefaultProtocolClient() with a protocol name derived from external or untrusted input. Apps that use a hardcoded protocol name are not affected. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.

A flaw was found in Electron, a framework for building desktop applications. On Windows, the app.setAsDefaultProtocolClient() function did not properly validate protocol names before writing to the system registry. This vulnerability could allow a local attacker, through an application that processes untrusted input, to write to arbitrary registry subkeys. Consequently, an attacker might be able to hijack existing protocol handlers, leading to unintended program execution or other system modifications.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Build of Podman Desktoppodman-desktop-macos-1-0Not affected
Red Hat Build of Podman Desktoppodman-desktop-windows-1-0Not affected
Red Hat Build of Podman Desktop - Tech Previewrhdesktop/rh-podman-desktop-ext-openshift-local-rhel10Not affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-791
https://bugzilla.redhat.com/show_bug.cgi?id=2455025electron: Electron: Protocol handler hijacking via improper validation of protocol names

EPSS

Процентиль: 15%
0.0024
Низкий

4.7 Medium

CVSS3

Связанные уязвимости

CVSS3: 4.7
nvd
4 месяца назад

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, on Windows, app.setAsDefaultProtocolClient(protocol) did not validate the protocol name before writing to the registry. Apps that pass untrusted input as the protocol name may allow an attacker to write to arbitrary subkeys under HKCU\Software\Classes\, potentially hijacking existing protocol handlers. Apps are only affected if they call app.setAsDefaultProtocolClient() with a protocol name derived from external or untrusted input. Apps that use a hardcoded protocol name are not affected. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.

CVSS3: 4.7
debian
4 месяца назад

Electron is a framework for writing cross-platform desktop application ...

CVSS3: 4.7
github
4 месяца назад

Electron: Registry key path injection in app.setAsDefaultProtocolClient on Windows

EPSS

Процентиль: 15%
0.0024
Низкий

4.7 Medium

CVSS3