NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-46992: electron ASAR Integrity bypass by just modifying the content

highCVSS 3.1 7.8GHSA-xw5q-g62x-2qjc

electron's ASAR Integrity can be bypass by modifying the content. Impact 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.

Published Jun 30, 2025 · Updated Jul 1, 2025

Affected packages

electron

Ecosystem
npm
Affected
>= 30.0.0-alpha.1, < 30.0.5
Fixed in
30.0.5
Check
npm ls electron

electron

Ecosystem
npm
Affected
>= 31.0.0-alpha.1, < 31.0.0-beta.1
Fixed in
31.0.0-beta.1
Check
npm ls electron

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

electron's ASAR Integrity can be bypass by modifying the content.

Impact

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.

Workarounds

There are no app side workarounds, you must update to a patched version of Electron.

Fixed Versions

  • 30.0.5
  • 31.0.0-beta.1

For more information

If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected])

Credited to Just-Hack-For-Fun.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries