{"id":"CVE-2025-49592","aliases":["GHSA-5vj6-wjr7-5v9f"],"url":"https://o3.security/vulnerability/CVE-2025-49592","summary":"n8n Login Flow has Open Redirect Vulnerability","details":"### Impact\n\nThis is an Open Redirect (CWE-601) vulnerability in the login flow of n8n. Authenticated users can be redirected to untrusted, attacker-controlled domains after logging in, by crafting malicious URLs with a misleading redirect query parameter.\n\nThis may lead to:\n\n- Phishing attacks by impersonating the n8n UI on lookalike domains (e.g., n8n.local.evil.com)\n- Credential or 2FA theft if users are tricked into re-entering sensitive information\n- Reputation risk due to the visual similarity between attacker-controlled domains and trusted ones\n\nThe vulnerability affects anyone hosting n8n and exposing the `/signin` endpoint to users.\n\n### Patches\n\nThe issue has been patched in [1.98.0](https://github.com/n8n-io/n8n/releases/tag/n8n%401.98.0).\nAll users should upgrade to this version or later.\n\nThe fix introduces strict origin validation for redirect URLs, ensuring only same-origin or relative paths are allowed after login.\n\nPatch commit: https://github.com/n8n-io/n8n/pull/16034","published":"2025-06-26T19:45:27.862Z","modified":"2026-08-12T03:51:27.181114321Z","cvss":{"score":4.6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"},"epss":{"score":0.00218,"percentile":0.12467,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"n8n","fixedVersion":"1.98.0"}],"fix":{"url":"https://github.com/n8n-io/n8n/commit/4865d1e360a0fe7b045e295b5e1a29daad12314e","label":"n8n-io/n8n@4865d1e"},"references":[{"type":"WEB","url":"https://github.com/n8n-io/n8n/releases/tag/n8n%401.98.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49592.json"},{"type":"ADVISORY","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-5vj6-wjr7-5v9f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49592"},{"type":"FIX","url":"https://github.com/n8n-io/n8n/commit/4865d1e360a0fe7b045e295b5e1a29daad12314e"},{"type":"FIX","url":"https://github.com/n8n-io/n8n/pull/16034"},{"type":"PACKAGE","url":"https://github.com/n8n-io/n8n"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:27.181114321Z"}}