Electron has ASAR Integrity Bypass via resource modification
Published 3 Sept 2025 · Updated 5 Sept 2025
Affected packages
- Affected
- <35.7.5
- Fixed in
- 35.7.5
npm install electron@35.7.5- Affected
- >=36.0.0-alpha.1 <36.8.1
- Fixed in
- 36.8.1
npm install electron@36.8.1- Affected
- >=37.0.0-alpha.1 <37.3.1
- Fixed in
- 37.3.1
npm install electron@37.3.1- Affected
- >=38.0.0-alpha.1 <38.0.0-beta.6
- Fixed in
- 38.0.0-beta.6
npm install electron@38.0.0-beta.6Details
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 [security@electronjs.org](mailto:security@electronjs.org)
Is GHSA-vmqv-hx8q-j7mg in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected electron, and gives you the command that fixes it.
References
- Linkgithub.com/electron/electron/security/advisories/GHSA-vmqv-hx8q-j7mg
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-55305
- Linkgithub.com/electron/electron/pull/48101
- Linkgithub.com/electron/electron/pull/48102
- Linkgithub.com/electron/electron/pull/48103
- Linkgithub.com/electron/electron/pull/48104
- Linkgithub.com/electron/electron/commit/23a02934510fcf951428e14573d9b2d2a3c4f28b
- Linkgithub.com/electron/electron/commit/2e5a0b7220ebf955c6785cc5adb2e2b1cf77dac1
- Linkgithub.com/electron/electron/commit/3f92511cdecc39f46b0e86cce40a0c691e301c9d
- Linkgithub.com/electron/electron/commit/fdf29ce83870109d403f5c23ae529dbd0e8f4fee
- Packagegithub.com/electron/electron
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.