Skip to main content
Network Thinking Solutions Logo

CVE-2022-36077

Electron subject to Exfiltration of hashed SMB credentials on Windows via file:// redirect

All CVEs
CVE-2022-36077Published 11/8/2022

Electron subject to Exfiltration of hashed SMB credentials on Windows via file:// redirect

Vendor advisory
CVSS7.2High

Overview

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.

Published
11/8/2022
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
electron
electronjs
< 18.3.7

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electronjs
≥ 19.0.0, < 19.0.11

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electronjs
≥ 20.0.0, < 20.0.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electronjs
21.0.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
electron
electron
>= v21.0.0-nightly.20220526, < 21.0.0-beta.1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
electron
electron
>= 20.0.0-beta.1, < 20.0.1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
electron
electron
>= 19.0.0-beta.1, < 19.0.11

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
electron
electron
< 18.3.7

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.2. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.