CVE-2026-126388
n8n before 2.46.1 Credential Leak via Cross-Origin Redirects in Nodes
6.3
Description
n8n before 2.46.1 contains a credential exposure vulnerability that forwards Authorization headers and basic auth credentials on cross-origin redirects because sendCredentialsOnCrossOriginRedirect defaults to true. Attackers controlling a redirect target or an expression-fed URL in credential-using nodes can capture stored workflow credentials sent to their endpoint.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| n8n | n8n-io | 2.46.0 → <2.46.1 | 2.46.1 | CVE.org |
| n8n | n8n-io | 0 → <2.45.5 | 2.45.5 | CVE.org |
| n8n | n8n-io | 3.0.0 → <3.0.1 | 3.0.1 | CVE.org |