CVE-2026-102675: Electron File And HTTP Protocol Handlers Vulnerability

HIGH
Advisory Identifier: GHSA-j84w-jfhq-vhvj
CVSS 7.4
CWE-346
Published
Advisory Summary

CVE-2026-102675 is a HIGH (CVSS 7.4) file and http protocol handlers vulnerability (CWE-346: Origin Validation Error) affecting Electron libraries in the npm ecosystem. The issue involves file and http protocol handlers allow cross-origin reads without corsenabled. Remediation is available by upgrading affected packages to version 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5.

CVE-2026-102675 at a Glance

CVE Identifier CVE-2026-102675
GHSA Identifier GHSA-j84w-jfhq-vhvj
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-346: Origin Validation Error
Affected Product Electron
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-102675

To remediate this vulnerability, upgrade all affected Electron dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

electron fixed: 41.10.6
npm install electron@41.10.6
electron fixed: 42.9.2
npm install electron@42.9.2
electron fixed: 43.4.1
npm install electron@43.4.1
electron fixed: 44.0.0-beta.5
npm install electron@44.0.0-beta.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls electron

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-102675, inspect your project dependencies using npm:

npm ls electron

Analyze the terminal output to locate any version of Electron in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 41.10.6), your application is affected.

Note: The npm ls electron command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-346: Origin Validation Error, where the product does not properly verify that the source of data or communication is valid. In Electron, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Responses served through `protocol.registerFileProtocol` or `protocol.registerHttpProtocol` for a custom scheme registered with `supportFetchAPI: true` but without `corsEnabled: true` could be read cross-origin by web content. This completes the fix for CVE-2026-70604. Apps are only affected if they register such a scheme, serve it through one of those handlers, and load untrusted content. Apps that set `corsEnabled: true`, or that do not load untrusted content, are not affected. ### Workarounds Set `corsEnabled: true` on the scheme, or do not load untrusted content in windows that can reach it. ### Fixed Versions * `44.0.0-beta.5` * `43.4.1` * `42.9.2` * `41.10.6` ### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)

CVE-2026-102675 Affected Electron Versions

4 component(s)
Fixed Versions:
41.10.642.9.243.4.144.0.0-beta.5
Product / Package Ecosystem Affected Versions Fixed Version
electron
npm
< 41.10.6
41.10.6
electron
npm
≥ 42.0.0-alpha.1
< 42.9.2
42.9.2
electron
npm
≥ 43.0.0-alpha.1
< 43.4.1
43.4.1
electron
npm
≥ 44.0.0-alpha.1
< 44.0.0-beta.5
44.0.0-beta.5

References

Frequently Asked Questions

What is CVE-2026-102675?
CVE-2026-102675 is a security vulnerability in Electron involving File and HTTP protocol handlers allow cross-origin reads without corsEnabled under CWE-346: Origin Validation Error.
Which Electron versions are affected?
Affected versions include releases prior to 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5 across affected packages: electron.
What version fixes CVE-2026-102675?
Upgrading to 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is electron affected?
Yes, electron is affected in releases prior to 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5. Upgrade your dependency to 41.10.6, 42.9.2, 43.4.1, 44.0.0-beta.5 or later.
What is the CVSS score of CVE-2026-102675?
CVE-2026-102675 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2026-102675?
CVE-2026-102675 is classified under CWE-346: Origin Validation Error (The product does not properly verify that the source of data or communication is valid.).
How can I check npm dependencies for CVE-2026-102675?
Run the dependency tree command: 'npm ls electron'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j84w-jfhq-vhvj",
  "modified" : "2026-09-29T18:04:25Z",
  "published" : "2026-09-29T18:04:24Z",
  "aliases" : [ "CVE-2026-102675" ],
  "summary" : "Electron: File and HTTP protocol handlers allow cross-origin reads without corsEnabled",
  "details" : "### Impact\n\nResponses served through `protocol.registerFileProtocol` or `protocol.registerHttpProtocol` for a custom scheme registered with `supportFetchAPI: true` but without `corsEnabled: true` could be read cross-origin by web content. This completes the fix for CVE-2026-70604.\n\nApps are only affected if they register such a scheme, serve it through one of those handlers, and load untrusted content. Apps that set `corsEnabled: true`, or that do not load untrusted content, are not affected.\n\n### Workarounds\n\nSet `corsEnabled: true` on the scheme, or do not load untrusted content in windows that can reach it.\n\n### Fixed Versions\n\n* `44.0.0-beta.5`\n* `43.4.1`\n* `42.9.2`\n* `41.10.6`\n\n### For more information\n\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "electron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "41.10.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "electron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "42.0.0-alpha.1"
      }, {
        "fixed" : "42.9.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "electron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "43.0.0-alpha.1"
      }, {
        "fixed" : "43.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "electron"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "44.0.0-alpha.1"
      }, {
        "fixed" : "44.0.0-beta.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/security/advisories/GHSA-j84w-jfhq-vhvj"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/commit/4d2784cc8592471ee2276235b8c2a03efddf937d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/commit/80178e4631cb2f6a5e42f8e793b2ae9624e78a0d"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/commit/c595b05976e7a885465b043d17e00a92fc3c3397"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/commit/ef75c4b98caaa3ebc615f1eba302027028ee04d2"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/electron/electron"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/releases/tag/v41.10.6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/releases/tag/v42.9.2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/releases/tag/v43.4.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/electron/electron/releases/tag/v44.0.0-beta.5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-346" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-29T18:04:24Z",
    "nvd_published_at" : null
  }
}