medium5.1
CVE-2026-126386
n8n before 1.123.89, 2.x before 2.45.5, 2.46.x before 2.46.1, and 3.x before 3.0.1 contains an open redirect vulnerability in the unauthenticated MCP OAuth dyn…
Impact
n8n before 1.123.89, 2.x before 2.45.5, 2.46.x before 2.46.1, and 3.x before 3.0.1 contains an open redirect vulnerability in the unauthenticated MCP OAuth dynamic client registration flow, which accepts arbitrary redirect_uri values via the /mcp-oauth/register endpoint. Attackers can send victims crafted /mcp-oauth/authorize URLs that redirect them to attacker-controlled sites before instance checks run, enabling phishing.
An attacker can exploit this over the network, without logging in, but a user has to actively do something, such as open a file or a link.
Affected products · N8n-io
| Product | Affected versions |
|---|---|
| N8n | before 1.123.89 from 2.46.0 before 2.46.1 from 2.0.0 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-rc3w-8jc8-7x3w
- https://www.vulncheck.com/advisories/n8n-before-1.123.89-open-redirect-via-mcp-oauth-dynamic-client-registration
- https://github.com/advisories/GHSA-pc28-gvgp-xg9x
- https://nvd.nist.gov/vuln/detail/CVE-2026-126386