CVE-2025-54871: Electron Capture - Privilege Escalation
- Cve: CVE-2025-54871
- Name: Electron Capture - Privilege Escalation
- 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.
- Impact: Local unprivileged users can execute arbitrary code with elevated privacy permissions, bypassing macOS TCC protections.
- Remediation: Update to version 2.20.0 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0026
- Epss percentile: 0.17878
- Assignee: [email protected]
- Published at: 2025-08-05T01:15:43Z
- Age in days: 476
- Modified at: 2026-06-17T09:40:50Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-54871
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-284 | Improper Access Control |
| NVD-CWE-noinfo | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/steveseguin/electroncapture/security/advisories/GHSA-8849-p3j4-jq4h | nvd | 2025-08-05 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| electroncapture:electron_capture | < 2.20.0 | no | nvd | /v1/products/electroncapture/electron_capture |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| steveseguin/electroncapture | commit, releases, security_advisory | yes | /v1/repositories/steveseguin/electroncapture |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-08-05
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts