GitHub Advisory Database
GHSA-vmqv-hx8q-j7mg
Electron has ASAR Integrity Bypass via resource modification
Details
Impact
This only impacts apps that have the embeddedAsarIntegrityValidation and onlyLoadAppFromAsar fuses enabled. Apps without these fuses enabled are not impacted.
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 resources folder in your app installation on Windows which these fuses are supposed to protect against.
Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
38.0.0-beta.637.3.136.8.135.7.5
For more information
If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected])
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | electron | All versions before 35.7.5 (fixed in 35.7.5) |
| npm | electron | From 36.0.0-alpha.1 before 36.8.1 (fixed in 36.8.1) |
| npm | electron | From 37.0.0-alpha.1 before 37.3.1 (fixed in 37.3.1) |
| npm | electron | From 38.0.0-alpha.1 before 38.0.0-beta.6 (fixed in 38.0.0-beta.6) |
References
- https://github.com/electron/electron/security/advisories/GHSA-vmqv-hx8q-j7mg
- https://nvd.nist.gov/vuln/detail/CVE-2025-55305
- https://github.com/electron/electron/pull/48101
- https://github.com/electron/electron/pull/48102
- https://github.com/electron/electron/pull/48103
- https://github.com/electron/electron/pull/48104
- https://github.com/electron/electron/commit/23a02934510fcf951428e14573d9b2d2a3c4f28b
- https://github.com/electron/electron/commit/2e5a0b7220ebf955c6785cc5adb2e2b1cf77dac1
- https://github.com/electron/electron/commit/3f92511cdecc39f46b0e86cce40a0c691e301c9d
- https://github.com/electron/electron/commit/fdf29ce83870109d403f5c23ae529dbd0e8f4fee
- https://github.com/electron/electron