medium6.3
CVE-2026-126388
n8n before 2.46.1 contains a credential exposure vulnerability that forwards Authorization headers and basic auth credentials on cross-origin redirects because…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read.
Affected products · N8n-io
| Product | Affected versions |
|---|---|
| N8n | from 2.46.0 before 2.46.1 before 2.45.5 from 3.0.0 before 3.0.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/n8n-io/n8n/security/advisories/GHSA-prmc-fg87-r4gh
- https://www.vulncheck.com/advisories/n8n-before-2.46.1-credential-leak-via-cross-origin-redirects-in-nodes
- https://github.com/advisories/GHSA-3r2g-799p-7565
- https://nvd.nist.gov/vuln/detail/CVE-2026-126388