# CVE-2022-36077: Electron subject to Exfiltration of hashed SMB credentials on Windows via file:// redirect

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L`
- 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.69%, higher than 53% of CVEs (2026-12-01)
- Published: 2022-11-08T00:00:00.000Z
- Modified: 2026-06-17T04:52:52.090Z
- Also known as: GHSA-p2jh-44qj-pf2v
- Weaknesses: CWE-200, CWE-522
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

The Electron framework enables writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions prior to 21.0.0-beta.1, 20.0.1, 19.0.11, and 18.3.7, Electron is vulnerable to Exposure of Sensitive Information. When following a redirect, Electron delays a check for redirecting to file:// URLs from other schemes. The contents of the file is not available to the renderer following the redirect, but if the redirect target is a SMB URL such as `file://some.website.com/`, then in some cases, Windows will connect to that server and attempt NTLM authentication, which can include sending hashed credentials.This issue has been patched in versions: 21.0.0-beta.1, 20.0.1, 19.0.11, and 18.3.7. Users are recommended to upgrade to the latest stable version of Electron. If upgrading isn't possible, this issue can be addressed without upgrading by preventing redirects to file:// URLs in the `WebContents.on('will-redirect')` event, for all WebContents as a workaround.

(As written by CVE List.)

## Affected

- electron electron: >= v21.0.0-nightly.20220526, < 21.0.0-beta.1; >= 20.0.0-beta.1, < 20.0.1; >= 19.0.0-beta.1, < 19.0.11; < 18.3.7
- electron (npm): before 18.3.7; from 20.0.0-beta.1 before 20.0.1; from 19.0.0-beta.1 before 19.0.11
- electronjs electron: before 18.3.7; from 19.0.0 before 19.0.11; from 20.0.0 before 20.0.1; 21.0.0

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/electron/electron/security/advisories/GHSA-p2jh-44qj-pf2v> (mitigation, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-36077> (advisory)
- <https://github.com/electron/electron> (package)

## Sources

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

---

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