CVE-2024-46992: Electron - Authentication Bypass
- Cve: CVE-2024-46992
- Name: Electron - Authentication Bypass
- Description: Electron is an open source framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From versions 30.0.0-alpha.1 to before 30.0.5 and 31.0.0-alpha.1 to before 31.0.0-beta.1, Electron is vulnerable to an ASAR Integrity bypass. This only impacts apps that have the embeddedAsarIntegrityValidation and onlyLoadAppFromAsar fuses enabled. Apps without these fuses enabled are not impacted. This issue is specific to Windows, apps using these fuses on macOS are not impacted. Specifically this issue can only be exploited if the app is launched from a filesystem the attacker has write access too. i.e. the ability to edit files inside the .app bundle on macOS which these fuses are supposed to protect against. This issue has been patched in versions 30.0.5 and 31.0.0-beta.1. There are no workarounds for this issue.
- Impact: Attackers with write access to the app's filesystem can bypass ASAR integrity checks, potentially leading to code tampering or execution.
- Remediation: Update to versions 30.0.5 or 31.0.0-beta.1 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: data_tampering
- Requirements: Attacker needs write access to the filesystem where the app is launched
- 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.00117
- Epss percentile: 0.01677
- Assignee: [email protected]
- Published at: 2025-07-01T02:15:20Z
- Age in days: 511
- Modified at: 2026-06-17T07:56:19Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-46992
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-354 | Improper Validation of Integrity Check Value |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/electron/electron/security/advisories/GHSA-xw5q-g62x-2qjc | nvd | |
| https://www.electronjs.org/docs/latest/tutorial/fuses | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| electronjs:electron | >= 31.0.0-alpha.1, < 31.0.0-beta.1; >= 30.0.0-alpha.1, < 30.0.5 | no | cna_alias_text | /v1/products/electronjs/electron |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| electron/electron | package, security_advisory | yes | /v1/repositories/electron/electron |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts