steveseguin electroncapture up to 2.19.x Environment Variable ELECTRON_RUN_AS_NODE access control
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in steveseguin electroncapture up to 2.19.x. It has been rated as critical. Affected by this issue is some unknown functionality of the component Environment Variable Handler. Performing a manipulation of the argument ELECTRON_RUN_AS_NODE results in access control. This vulnerability is cataloged as CVE-2025-54871. The attack must be initiated from a local position. There is no exploit available. Upgrading the affected component is advised.
Details
A vulnerability was found in steveseguin electroncapture up to 2.19.x. It has been classified as problematic. This affects an unknown function of the component Environment Variable Handler. The manipulation of the argument ELECTRON_RUN_AS_NODE with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-284. The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. This is going to have an impact on confidentiality. The summary by CVE is:
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.
It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2025-54871 since 07/31/2025. The exploitability is told to be easy. Attacking locally is a requirement. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
Upgrading to version 2.20.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 3837f54e75911bb99fa45cfa138a5e401d16f531 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2025-23578). Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.5
VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔒
CNA Base Score: 5.5
CNA Vector (GitHub_M): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Access controlCWE: CWE-284 / CWE-266
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: electroncapture 2.20.0
Patch: 3837f54e75911bb99fa45cfa138a5e401d16f531
Timeline
07/31/2025 CVE reserved08/05/2025 Advisory disclosed
08/05/2025 VulDB entry created
10/10/2025 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-8849-p3j4-jq4h
Status: Confirmed
CVE: CVE-2025-54871 (🔒)
GCVE (CVE): GCVE-0-2025-54871
GCVE (VulDB): GCVE-100-318759
EUVD: 🔒
Entry
Created: 08/05/2025 09:15Updated: 10/10/2025 04:57
Changes: 08/05/2025 09:15 (69), 08/05/2025 13:29 (1), 08/05/2025 18:47 (1), 10/10/2025 04:57 (11)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.