CVE-2026-126388 Details
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.
A credential exposure vulnerability has been identified in n8n versions prior to 2.46.1. This vulnerability allows for the unauthorized forwarding of Authorization headers and basic authentication credentials during cross-origin redirects. The issue arises because the 'sendCredentialsOnCrossOriginRedirect' setting defaults to true, enabling the automatic attachment of sensitive credentials to redirected requests. As a result, attackers who control the redirect destination or manipulate URLs in nodes that use credentials can intercept and capture workflow credentials sent to their endpoint.
Users are advised to upgrade to n8n versions 2.46.1, 2.45.5, or 3.0.1. If an immediate upgrade is not possible, consider restricting access to the n8n instance, auditing workflows that use credential-authenticated HTTP requests, applying network-level controls to restrict outbound HTTP requests to trusted destinations, enabling SSRF protection, and rotating any exposed credentials.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 13, 2026CISA-ADP
Assessed Nov 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-prmc-fg87-r4gh | [email protected] | AdvisoryRemedyVendor |
| https://www.vulncheck.com/advisories/n8n-before-2.46.1-credential-leak-via-cross-origin-redirects-in-nodes | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-522 | Insufficiently Protected Credentials | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n | < 2.46.1 (semver) < 2.45.5 (semver) < 3.0.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 13, 2026 | New CVE Received | [email protected] |
Volerion