# CVE-2026-114121: Electron: openExternal permission requests can be attributed to the wrong origin


- **Severity:** Medium 5.4 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 21 Oct 2026
- **Updated:** 28 Oct 2026
- **Also known as:** GHSA-997q-gvvc-jwmx

## What is CVE-2026-114121?

CVE-2026-114121 is a medium-severity vulnerability in electron, published on 21 Oct 2026. 

### Official description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.5, requests to open external protocol URLs could be attributed to a document other than the one that initiated them, causing the requestingUrl passed to session.setPermissionRequestHandler to identify trusted content for a launch requested by untrusted content. An application that grants openExternal based on the requesting origin and allows untrusted content to open or navigate windows could therefore allow that content to launch an OS-registered external application. This issue is fixed in versions 42.11.3, 43.7.0, 44.3.0, and 45.0.0-alpha.5.

Weakness: CWE-346 (Origin Validation Error)

## Which versions are affected by CVE-2026-114121?

8 open source packages ship an affected version, including electron.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `electron` | npm | All versions | 42.11.3 |
| `electron` | npm | All versions | 42.11.3 |
| `electron` | npm | From 43.0.0-alpha.1 | 43.7.0 |
| `electron` | npm | From 43.0.0-alpha.1 | 43.7.0 |
| `electron` | npm | From 44.0.0-alpha.1 | 44.3.0 |
| `electron` | npm | From 44.0.0-alpha.1 | 44.3.0 |
| `electron` | npm | From 45.0.0-alpha.1 | 45.0.0-alpha.5 |
| `electron` | npm | From 45.0.0-alpha.1 | 45.0.0-alpha.5 |

## How do I fix CVE-2026-114121?

Upgrade electron to a fixed version for your release line: 42.11.3, 43.7.0, 44.3.0 or 45.0.0-alpha.5.

## Is CVE-2026-114121 being exploited?

There is no known exploitation of CVE-2026-114121 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-114121 and fix it if it is affected.

What it is: CVE-2026-114121 is a medium-severity vulnerability in electron, published on 21 Oct 2026. 
Exploitation: There is no known exploitation of CVE-2026-114121 in the wild and no public exploit code.

Affected packages and fixed versions:
- electron (npm): affected all versions; fixed in 42.11.3
- electron (npm): affected all versions; fixed in 42.11.3
- electron (npm): affected from 43.0.0-alpha.1; fixed in 43.7.0
- electron (npm): affected from 43.0.0-alpha.1; fixed in 43.7.0
- electron (npm): affected from 44.0.0-alpha.1; fixed in 44.3.0
- electron (npm): affected from 44.0.0-alpha.1; fixed in 44.3.0
- electron (npm): affected from 45.0.0-alpha.1; fixed in 45.0.0-alpha.5
- electron (npm): affected from 45.0.0-alpha.1; fixed in 45.0.0-alpha.5

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-114121/ (Markdown: https://insights.sbomify.com/CVE-2026-114121/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-114121
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-114121
- OSV: https://osv.dev/vulnerability/CVE-2026-114121

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-114121/
Summaries are generated and may contain mistakes; the official description above is the record.
