Electron is vulnerable to Code Injection via resource modification
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · High · Low
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-829.
Summary
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions below 35.7.5, 36.0.0-alpha.1 through 36.8.0, 37.0.0-alpha.1 through 37.3.1 and 38.0.0-alpha.1 through 38.0.0-beta.6, ASAR Integrity Bypass via resource modification. This only impacts apps that have the embeddedAsarIntegrityValidation and onlyLoadAppFromAsar fuses enabled. Apps without these fuses enabled are not impacted. This issue is fixed in versions 35.7.5, 36.8.1, 37.3.1 and 38.0.0-beta.6.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| electron | electron | before 35.7.5; 36.0.0-alpha.1 to before 36.8.1; 37.0.0-alpha.1 to before 37.3.1; 38.0.0-alpha.1 to before 38.0.0-beta.6 | 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6 | Patch available | CNA |
| — | electron (npm) | before 35.7.5 | 35.7.5 | Patch available | GHSA-vmqv-hx8q-j7mg |
| — | electron (npm) | 36.0.0-alpha.1 to before 36.8.1 | 36.8.1 | Patch available | GHSA-vmqv-hx8q-j7mg |
| — | electron (npm) | 37.0.0-alpha.1 to before 37.3.1 | 37.3.1 | Patch available | GHSA-vmqv-hx8q-j7mg |
| — | electron (npm) | 38.0.0-alpha.1 to before 38.0.0-beta.6 | 38.0.0-beta.6 | Patch available | GHSA-vmqv-hx8q-j7mg |
- electron Vendorelectron Affected before 35.7.5; 36.0.0-alpha.1 to before 36.8.1; 37.0.0-alpha.1 to before 37.3.1; 38.0.0-alpha.1 to before 38.0.0-beta.6 Fixed in 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6 Patch available CNA
- electron (npm) Vendor— Affected before 35.7.5 Fixed in 35.7.5 Patch available GHSA-vmqv-hx8q-j7mg
- electron (npm) Vendor— Affected 36.0.0-alpha.1 to before 36.8.1 Fixed in 36.8.1 Patch available GHSA-vmqv-hx8q-j7mg
- electron (npm) Vendor— Affected 37.0.0-alpha.1 to before 37.3.1 Fixed in 37.3.1 Patch available GHSA-vmqv-hx8q-j7mg
- electron (npm) Vendor— Affected 38.0.0-alpha.1 to before 38.0.0-beta.6 Fixed in 38.0.0-beta.6 Patch available GHSA-vmqv-hx8q-j7mg
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* | — | — | Electronjs |
- cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* Versions — — ·Electronjs
Remediation
- Fix · CNA electron (electron) Fixed in 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6
- Fix · GHSA-vmqv-hx8q-j7mg electron (npm) Fixed in 35.7.5 Advisory →
- Fix · GHSA-vmqv-hx8q-j7mg electron (npm) Fixed in 36.8.1 Advisory →
- Fix · GHSA-vmqv-hx8q-j7mg electron (npm) Fixed in 37.3.1 Advisory →
- Fix · GHSA-vmqv-hx8q-j7mg electron (npm) Fixed in 38.0.0-beta.6 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-55305
- 2026-10-03 Alias added: GHSA-vmqv-hx8q-j7mg
References
Other 10
- https://github.com/electron/electron/security/advisories/GHSA-vmqv-hx8q-j7mg
- 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
More electron vulnerabilities
- TI-2026-39496 Information disclosure in electron-builder CVSS 4.0HIGH 8.2
- TI-2024-26621 Code Signing Bypass on Windows in electron-updater < 6.3.0-alpha.6 CVSS 3.1HIGH 7.5
- TI-2023-09452 Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron CVSS 3.1CRITICAL 9.8
- TI-2026-39157 Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow CVSS 4.0CRITICAL 9.3
- TI-2017-09308 GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration… CVSS 3.0HIGH 8.1
- TI-2022-11788 Exposure of Resource to Wrong Sphere in Electron CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-55305 · CVE Program
- CVE-2025-55305 · NVD
- FIRST EPSS
- GHSA-vmqv-hx8q-j7mg · GitHub Advisory Database · CC BY 4.0
- CVE-2025-55305 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences