# CVE-2022-29257: Electron's AutoUpdater module fails to validate certain nested components of the bundle

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-01)
- Published: 2022-06-13T21:25:10.000Z
- Modified: 2026-06-17T04:39:56.107Z
- Also known as: GHSA-77xc-hjv8-ww97
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. A vulnerability in versions prior to 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 allows attackers who have control over a given apps update server / update storage to serve maliciously crafted update packages that pass the code signing validation check but contain malicious code in some components. This kind of attack would require significant privileges in a potential victim's own auto updating infrastructure and the ease of that attack entirely depends on the potential victim's infrastructure security. Electron versions 18.0.0-beta.6, 17.2.0, 16.2.6, and 15.5.5 contain a fix for this issue. There are no known workarounds.

(As written by CVE List.)

## Affected

- electron electron: < 15.5.5; >= 16.0.0-beta.1, < 16.2.6; >= 17.0.0-beta.1, < 17.2.0; >= 18.0.0-beta.1, <= 18.0.0-beta.5
- electron (npm): before 15.5.0; from 16.0.0 before 16.2.0; from 17.0.0 before 17.2.0; from 18.0.0-beta.1 before 18.0.0-beta.6
- electronjs electron: before 15.5.0; from 16.0.1 before 16.2.0; from 17.0.1 before 17.2.0; 16.0.0; 17.0.0; 18.0.0

## Every score

- GitHub_M: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/electron/electron/security/advisories/GHSA-77xc-hjv8-ww97> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-29257> (advisory)
- <https://github.com/electron/electron> (package)

## Sources

- CVE List: [CVE-2022-29257](https://www.cve.org/CVERecord?id=CVE-2022-29257), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-77xc-hjv8-ww97](https://github.com/advisories/GHSA-77xc-hjv8-ww97), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-29257](https://nvd.nist.gov/vuln/detail/CVE-2022-29257), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29257 · Whole record: https://cve.day/CVE-2022-29257.json · Rebuilt by cve.day 2026-11-25T22:58:12.264Z
