# CVE-2026-113800: Electron: HID and USB permission checks 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:** 23 Oct 2026
- **Also known as:** GHSA-fw47-9c62-h3vw

## What is CVE-2026-113800?

CVE-2026-113800 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, hid and usb permission checks made from an iframe caused setPermissionCheckHandler to receive the top-level frame's origin and details instead of the requesting frame's. An application that delegated hid or usb to a cross-origin untrusted iframe and allowed device access with origin-based logic could therefore grant that embedded frame access intended for the top-level page. 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-113800?

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-113800?

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-113800 being exploited?

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

## Fix prompt for AI coding agents

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

What it is: CVE-2026-113800 is a medium-severity vulnerability in electron, published on 21 Oct 2026. 
Exploitation: There is no known exploitation of CVE-2026-113800 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-113800/ (Markdown: https://insights.sbomify.com/CVE-2026-113800/index.md)
```

## Sources

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

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