Vulnerability · Published Aug 5, 2025 · Assigned by GitHub_M
CVE-2025-54871Electron Capture is Vulnerable to TCC Bypass via Misconfigured Node Fuses (macOS)
Medium 5.5
In plain English
A medium-severity improper access control in electroncapture from steveseguin. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| steveseguin | electroncapture | < 2.20.0 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/steveseguin/electroncapture/security/advisories/GHSA-8849-p3j4-jq4h x_refsource_CONFIRM
- https://github.com/steveseguin/electroncapture/commit/3837f54e75911bb99fa45cfa138a5e401d16f531 x_refsource_MISC
- https://github.com/steveseguin/electroncapture/releases/tag/2.20.0 x_refsource_MISC