n8n credential exposure in cross-origin redirects
n8n-io n8n
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
n8n-io n8n
| Product | Affected | Fixed in |
|---|---|---|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
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.
From the CVE record · VulnCheck
n8n forwards Authorization headers and basic auth credentials on cross-origin redirects because credential forwarding is enabled by default. An attacker who controls a redirect target or an expression-fed URL in a credential-using node can capture stored workflow credentials at their endpoint when the workflow makes the request.
Teams running n8n versions before 2.46.1 should check their deployments.