{"id":"CVE-2025-49592","published":"2025-06-26T19:45:27Z","modified":"2025-06-26T19:57:19Z","title":"n8n Login Flow has Open Redirect Vulnerability","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"n8n is a workflow automation platform. Versions prior to 1.98.0 have an Open Redirect vulnerability in the login flow. Authenticated users can be redirected to untrusted, attacker-controlled domains after logging in, by crafting malicious URLs with a misleading redirect query parameter. This may lead to phishing attacks by impersonating the n8n UI on lookalike domains (e.g., n8n.local.evil.com), credential or 2FA theft if users are tricked into re-entering sensitive information, and/or reputation risk due to the visual similarity between attacker-controlled domains and trusted ones. The vulnerability affects anyone hosting n8n and exposing the `/signin` endpoint to users. The issue has been patched in version 1.98.0. All users should upgrade to this version or later. The fix introduces strict origin validation for redirect URLs, ensuring only same-origin or relative paths are allowed after login.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00245,"percentile":0.15777,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-5vj6-wjr7-5v9f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/n8n-io/n8n/pull/16034","tags":["x_refsource_MISC"]},{"url":"https://github.com/n8n-io/n8n/commit/4865d1e360a0fe7b045e295b5e1a29daad12314e","tags":["x_refsource_MISC"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n%401.98.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":3.16},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.98.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-26T19:56:57.301467Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.98.0"],"patched":["1.98.0"],"from":["GHSA-5vj6-wjr7-5v9f"],"provenance":"source"}],"summary":{"text":"The n8n workflow automation platform has an open redirect flaw in its login flow, in versions before 1.98.0, where a crafted redirect query parameter can send users to attacker-controlled domains after signing in. An attacker needs to lure an authenticated user into clicking a crafted link that targets the sign-in endpoint, which requires user interaction and an account on the instance, and can then use the redirect for phishing, such as impersonating the n8n UI on a lookalike domain to steal credentials or 2FA codes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:44Z"},"euvd":{"id":"EUVD-2025-19233","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-27563","published":"2023-05-10","fixed":"0.216.1","kev":false},{"cve":"CVE-2023-27564","published":"2023-05-10","fixed":"0.216.1","kev":false},{"cve":"CVE-2025-46343","published":"2025-04-29","fixed":"1.90.0","kev":false,"link":{"from":"CVE-2025-46343","to":"CVE-2025-49592","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"1.90.0","toFixed":"1.98.0","daysApart":58}]}},{"cve":"CVE-2025-49592","published":"2025-06-26","fixed":"1.98.0","kev":false},{"cve":"CVE-2025-52478","published":"2025-08-19","fixed":"1.98.2","kev":false,"link":{"from":"CVE-2025-49592","to":"CVE-2025-52478","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"1.98.0","toFixed":"1.98.2","daysApart":54}]}},{"cve":"CVE-2025-49595","published":"2025-07-03","fixed":"1.99.0","kev":false},{"cve":"CVE-2025-52554","published":"2025-07-03","fixed":"1.99.1","kev":false}],"package":"npm:n8n"}}