CVE-2026-126388 n8n before 2.46.1 Credential Leak via Cross-Origin Redirects in Nodes
MediumCVSS 6.3
EPSS 0.27%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm n8n | < 2.45.5; >= 2.46.0, < 2.46.1; >= 3.0.0, < 3.0.1 | 2.45.5, 2.46.1, 3.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm n8n | >= 2.46.0, < 2.46.1 | 2.46.1 |
| npm n8n | < 2.45.5 | 2.45.5 |
| npm n8n | >= 3.0.0, < 3.0.1 | 3.0.1 |
References
- GitHub Security Advisory (GHSA-prmc-fg87-r4gh) vendor-advisory
- VulnCheck Advisory: n8n before 2.46.1 Credential Leak via Cross-Origin Redirects in Nodes third-party-advisory
- ENISA EUVD EUVD-2026-125177 third-party-advisory