CVE-2026-126388

n8n before 2.46.1 Credential Leak via Cross-Origin Redirects in Nodes

Medium published · updated

6.3
CVSS score out of 10 · NVD (vulncheck.com)

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 / packageEcosystem / vendorVersionsFixed inSource
n8n n8n-io 2.46.0 → <2.46.12.46.1 CVE.org
n8n n8n-io 0 → <2.45.52.45.5 CVE.org
n8n n8n-io 3.0.0 → <3.0.13.0.1 CVE.org

References