CVE-2025-54871: Electron Capture facilitates video playback for screen-sharing and capture
CVE-2025-54871 is a medium-severity flaw (CVSS 5.5) affecting electron capture. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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,
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 85%) |
| CISA exploited list | No |
| Weakness | CWE-284 |
| Published | 2025-08-05 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-54871?
electron capture: upgrade to 2.20.0. Exact commands for each OS are on this page.
Is CVE-2025-54871 being exploited?
CVE-2025-54871 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-54871 affect?
CVE-2025-54871 affects electron capture. Severity is medium (CVSS 5.5). 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
How urgent is CVE-2025-54871?
Priority 28/100. Public exploit reference
Software pages
Node.js vulnerabilities · macOS vulnerabilities · Electron vulnerabilities