electron's ASAR Integrity can be bypass by modifying the content.
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 unimpacted.
Specifically this issue can only be exploited if your 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.
There are no app side workarounds, you must update to a patched version of Electron.
30.0.5
31.0.0-beta.1
If you have any questions or comments about this advisory, email us at security@electronjs.org
{ "nvd_published_at": "2025-07-01T02:15:20Z", "github_reviewed_at": "2025-06-30T17:54:11Z", "github_reviewed": true, "cwe_ids": [ "CWE-354" ], "severity": "HIGH" }