n8n Login Flow has Open Redirect Vulnerability
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | < 1.98.0 | 1.98.0 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-5vj6-wjr7-5v9fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-49592ghsaADVISORY
- github.com/n8n-io/n8n/commit/4865d1e360a0fe7b045e295b5e1a29daad12314eghsax_refsource_MISCWEB
- github.com/n8n-io/n8n/pull/16034ghsax_refsource_MISCWEB
- github.com/n8n-io/n8n/releases/tag/n8n%401.98.0ghsax_refsource_MISCWEB
- github.com/n8n-io/n8n/security/advisories/GHSA-5vj6-wjr7-5v9fghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.