CVE-2026-126385
Deferred Deferred - Pending Action

OAuth2 Token Theft in n8n Workflow

Vulnerability report for CVE-2026-126385, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
n8n n8n to 2.45.5 (exc)
n8n n8n From 2.46.0 (inc) to 2.46.1 (exc)
n8n n8n From 3.0.0 (inc) to 3.0.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-126385 is an OAuth account hijacking flaw in n8n versions before 2.46.1, 2.45.5, and 3.0.1. It occurs in the OAuth2 credential callback process where authentication is missing. An attacker with access to an OAuth2 credential can trick a victim into authorizing access without an active n8n session. The victim's tokens are then stored under the attacker's identity, allowing the attacker's workflows to act as the victim.

Detection Guidance

Check n8n version with 'n8n --version' or inspect package.json for version details. Monitor OAuth callback logs for unauthorized token storage under different user identities. Review workflows for unexpected OAuth credential usage or unauthorized access patterns.

Impact Analysis

This vulnerability allows an attacker to impersonate a victim in OAuth provider interactions. The attacker can access the victim's data and perform actions on their behalf. The attack requires low privileges and user interaction, making it easier to exploit. It impacts confidentiality and integrity but does not affect availability.

Mitigation Strategies

Upgrade n8n to version 2.46.1, 2.45.5, or 3.0.1 or later. Enable browser-session binding in OAuth flows. Restrict instance access to trusted users only. Audit and remove unnecessary user permissions. Disable dynamic credential features if not required.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126385. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...