CVE-2024-46992
HIGH 7.8CVSS 3.1electron ASAR Integrity bypass by just modifying the content
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.
- Published
- 1 Jul 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-354
- Also known as
- GHSA-xw5q-g62x-2qjc
- Sources
- NVDJSONOSV GHSA-xw5q-g62x-2qjcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | electron | >= 30.0.0-alpha.1, < 30.0.5 | 30.0.5 |
| OSV | npm | electron | >= 31.0.0-alpha.1, < 31.0.0-beta.1 | 31.0.0-beta.1 |
References
- https://github.com/electron/electron/security/advisories/GHSA-xw5q-g62x-2qjc · WEB
- https://www.electronjs.org/docs/latest/tutorial/fuses · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-46992 · ADVISORY
- https://github.com/electron/electron · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 1 Jul 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Jun 2025)