{"schemaVersion":4,"id":"CVE-2022-36077","aliases":["GHSA-p2jh-44qj-pf2v"],"status":"published","duplicateOf":null,"title":"Electron subject to Exfiltration of hashed SMB credentials on Windows via file:// redirect","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.","dates":{"published":"2022-11-08T00:00:00.000Z","modified":"2025-04-23T16:40:13.698Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L","exploitability":5.6,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00688,"percentile":0.54128,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.068,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0062},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00557,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00688,"percentile":0.54128}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00748,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00688,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00688,"percentile":0.54128}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-522","name":"Insufficiently Protected Credentials","description":"The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/522.html"}],"affected":[{"vendor":"electron","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ v21.0.0-nightly.20220526, < 21.0.0-beta.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"v21.0.0-nightly.20220526","startInclusive":true,"end":"21.0.0-beta.1","endInclusive":false}},{"text":"≥ 20.0.0-beta.1, < 20.0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"20.0.0-beta.1","startInclusive":true,"end":"20.0.1","endInclusive":false}},{"text":"≥ 19.0.0-beta.1, < 19.0.11","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"19.0.0-beta.1","startInclusive":true,"end":"19.0.11","endInclusive":false}},{"text":"< 18.3.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"18.3.7","endInclusive":false}}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/electron/electron"},{"vendor":"electronjs","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 18.3.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"18.3.7","endInclusive":false}},{"text":"≥ 19.0.0, < 19.0.11","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"19.0.0","startInclusive":true,"end":"19.0.11","endInclusive":false}},{"text":"≥ 20.0.0, < 20.0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"20.0.0","startInclusive":true,"end":"20.0.1","endInclusive":false}},{"text":"21.0.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"21.0.0"}},{"text":"21.0.0:alpha1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"21.0.0:alpha1"}},{"text":"21.0.0:alpha2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"21.0.0:alpha2"}},{"text":"21.0.0:alpha3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"21.0.0:alpha3"}},{"text":"21.0.0:alpha4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"21.0.0:alpha4"}},{"text":"21.0.0:alpha5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"21.0.0:alpha5"}},{"text":"21.0.0:alpha6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"21.0.0:alpha6"}}],"versionsText":"< 18.3.7 | ≥ 19.0.0, < 19.0.11 | ≥ 20.0.0, < 20.0.1 | 21.0.0 | 21.0.0:alpha1 | 21.0.0:alpha2 | 21.0.0:alpha3 | 21.0.0:alpha4 | 21.0.0:alpha5 | 21.0.0:alpha6","eol":{"isEol":true,"eolDate":"2023-04-04T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"21","label":"21","eolFrom":"2023-04-04T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"21.4.4"},"product":{"name":"electron","label":"Electron","category":"framework"}},"hubHref":"/vendor/electronjs/electron"},{"vendor":"Npm","product":"electron","name":"electron","label":"electron","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/electron","purlType":"npm","versions":[{"text":"< 18.3.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"18.3.7","endInclusive":false}},{"text":"≥ 20.0.0-beta.1, < 20.0.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"20.0.0-beta.1","startInclusive":true,"end":"20.0.1","endInclusive":false}},{"text":"≥ 19.0.0-beta.1, < 19.0.11","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"19.0.0-beta.1","startInclusive":true,"end":"19.0.11","endInclusive":false}}],"versionsText":"< 18.3.7 | ≥ 20.0.0-beta.1, < 20.0.1 | ≥ 19.0.0-beta.1, < 19.0.11","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-p2jh-44qj-pf2v","label":"github.com/electron/electron/security/advisories/GHSA-p2jh-44qj-pf2v","hostname":"github.com","tags":["WEB","Mitigation","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36077","label":"nvd.nist.gov/vuln/detail/CVE-2022-36077","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/electron/electron","label":"github.com/electron/electron","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-11-08T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T16:40:13.698Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 18.3.7, 19.0.11, 20.0.1, 21.0.0-beta.1 (CNA); fix release not confirmed","rank":[0,0,0,0,1,72],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00688,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-04-23T16:40:13.698Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L","version":"3.1","headline":true},{"type":"cvss","source":"osv_npm","date":"2025-04-23T16:40:13.698Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-04-23T16:40:13.698Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-04-23T15:49:23.434Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00688,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T11:16:59.273Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T11:16:59.802Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T11:16:59.995Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T11:01:01.512Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T11:16:57.726Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T11:16:56.764Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T11:37:15.962Z","stale":false,"partial":false}}