CVE-2025-54871
MEDIUMelectroncapture < 2.20.0 - Local Privilege Escalation via ELECTRON_RUN_AS_NODE Environment Variable
Title source: llmDescription
Electron Capture facilitates video playback for screen-sharing and capture. In versions 2.19.1 and below, the elecap app on macOS allows local unprivileged users to bypass macOS TCC privacy protections by enabling ELECTRON_RUN_AS_NODE. This environment variable allows arbitrary Node.js code to be executed via the -e flag, which runs inside the main Electron context, inheriting any previously granted TCC entitlements (such as access to Documents, Downloads, etc.). This issue is fixed in version 2.20.0.
References (3)
Core 3
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/steveseguin/electroncapture/security/advisories/GHSA-8849-p3j4-jq4h
Patch x_refsource_misc
https://github.com/steveseguin/electroncapture/commit/3837f54e75911bb99fa45cfa138a5e401d16f531
Release Notes x_refsource_misc
https://github.com/steveseguin/electroncapture/releases/tag/2.20.0
Scores
CVSS v3
5.5
EPSS
0.0021
EPSS Percentile
10.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-284
Status
published
Products (1)
electroncapture/electron_capture
< 2.20.0
Published
Aug 05, 2025
Tracked Since
Feb 18, 2026