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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-284"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54871.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:electroncapture:electron_capture:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.20.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "3837f54e75911bb99fa45cfa138a5e401d16f531"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "2.20.0",
"range": [
{
"fixed": "4d4cb9faa7dfed0b5176a8572c6dd2929d6b800b"
}
],
"source": "REFERENCES_TAG"
}
]
}