# CVE-2020-4075: Arbitrary file read via window-open IPC in Electron

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-07-07 · Modified: 2024-08-04
- Aliases: GHSA-f9mq-jph6-9mhm
- Record: https://cvemate.com/vulnerability/CVE-2020-4075 · JSON: https://cvemate.com/vulnerability/CVE-2020-4075/json

## Description

```text
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, arbitrary local file read is possible by defining unsafe window options on a child window opened via window.open. As a workaround, ensure you are calling `event.preventDefault()` on all new-window events where the `url` or `options` is not something you expect. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.205%, percentile 69.295%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- electron electron: ≥ 9.0.0-beta.0, ≤ 9.0.0-beta.20 \| ≥ 8.0.0, \< 8.2.4 \| \< 7.2.4
- electronjs electron: ≥ 7.0.0, \< 7.2.4 \| ≥ 8.0.0, \< 8.2.4 \| 9.0.0 \| 9.0.0:beta1 \| 9.0.0:beta10 \| 9.0.0:beta11 \| 9.0.0:beta12 \| 9.0.0:beta13 \| 9.0.0:beta14 \| 9.0.0:beta15 \| 9.0.0:beta16 \| 9.0.0:beta17 \| 9.0.0:beta18 \| 9.0.0:beta19 \| 9.0.0:beta2 \| 9.0.0:beta20 \| 9.0.0:beta3 \| 9.0.0:beta4 \| 9.0.0:beta5 \| 9.0.0:beta6 \| 9.0.0:beta7 \| 9.0.0:beta8 \| 9.0.0:beta9
- Npm electron (Npm): \< 7.2.4 \| ≥ 8.0.0, \< 8.2.4

## References

- <https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824>
- <https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-4075>

---

Data as of 2026-12-05T11:37:12.751Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
