# CVE-2026-126385: n8n before 2.46.1 OAuth Account Hijack via Unauthenticated Credential Callback

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: Active; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.32% (percentile 18, 2026-11-28)
- **CWE:** CWE-306
- **Published:** 2026-11-13T09:35:58.422Z
- **Modified:** 2026-11-17T20:17:40.490Z

## Who should check

- Anyone running n8n-io n8n \>= 2.46.0, \< 2.46.1
- Anyone running n8n-io n8n \< 2.45.5
- Anyone running n8n-io n8n \>= 3.0.0, \< 3.0.1

## Description

n8n before 2.45.5, 2.46.x before 2.46.1, and 3.x before 3.0.1 contains a flaw in the OAuth2 credential callback of the dynamic-credential connect flow, which does not verify that the completing browser belongs to the user who started the flow. Members with access to a resolvable OAuth2 credential can send the provider authorization URL to a victim; if the victim consents without an active n8n session, the victim's tokens are stored under the member's identity, letting the member's workflows act as the victim.

## Affected and fixed versions

- n8n-io n8n: \>= 2.46.0, \< 2.46.1 (cvelist)
- n8n-io n8n: \< 2.45.5 (cvelist)
- n8n-io n8n: \>= 3.0.0, \< 3.0.1 (cvelist)

## Technologies

n8n

## Mitigation

- Upgrade n8n to 2.46.1 or later.
- Upgrade n8n to 2.45.5 or later.
- Upgrade n8n to 3.0.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-126385. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-126385.md
Affected: n8n-io n8n >= 2.46.0, < 2.46.1; n8n-io n8n < 2.45.5; n8n-io n8n >= 3.0.0, < 3.0.1
Fixed in: n8n-io n8n 2.46.1, n8n-io n8n 2.45.5, n8n-io n8n 3.0.1

Steps:
1. Search this machine and project for n8n-io n8n: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-126385 being exploited?

There is no confirmed exploitation: CVE-2026-126385 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-126385?

Medium: CVSS 4.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

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

n8n-io n8n \>= 2.46.0, \< 2.46.1; n8n-io n8n \< 2.45.5; n8n-io n8n \>= 3.0.0, \< 3.0.1.

### Is there a fix for CVE-2026-126385?

Yes. Fixed in n8n-io n8n 2.46.1, n8n-io n8n 2.45.5, n8n-io n8n 3.0.1. Upgrade n8n to 2.46.1 or later. Upgrade n8n to 2.45.5 or later. Upgrade n8n to 3.0.1 or later.

### How do I check if I'm affected by CVE-2026-126385?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/n8n-io/n8n/security/advisories/GHSA-426f-xmcv-g8pg>
- other: <https://www.vulncheck.com/advisories/n8n-before-2.46.1-oauth-account-hijack-via-unauthenticated-credential-callback>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-126385>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-126385> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-126385>
