n8n: unauthorized token theft
HighAI-generated2026-11-15
- CVE
- CVE-2026-126385
- Severity
- High (CVSS 7.7)
- Attack conditions
- Remotely, over the network · A regular user account is needed · A user must take some action
- Exploitation probability (EPSS)
- 0.2% (within 30 days; FIRST EPSS, 18 November 2026)
Summary
The n8n automation platform versions prior to 2.45.5, 2.46.1 and 3.0.1 contain a flaw that lets an attacker obtain another user's OAuth2 tokens and act on their behalf.
Details
According to the NVD record, n8n versions before 2.45.5, the 2.46.x series before 2.46.1, and the 3.x series before 3.0.1 have a weakness in the OAuth2 credential callback. The flaw does not confirm that the browser completing the OAuth flow belongs to the user who started it.
An attacker who can access a resolvable OAuth2 credential can send the provider's authorization link to a victim. If the victim approves the request without an active n8n session, the resulting tokens are stored under the attacker's identity. This allows the attacker's workflows to operate as the victim, potentially accessing the victim's connected services.
What to do
Upgrade n8n to version 2.45.5, 2.46.1, 3.0.1 or later.
Sources
Timeline
- 13 November 2026 NVD record published
- 15 November 2026 This article was written