Medium severity · published Jun 26, 2025
CVE-2025-49592
n8n Login Flow has Open Redirect Vulnerability
5.4
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 14% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
N8
n8n · n8n-io
< 1.98.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-49592
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-49592
Patch
https://github.com/n8n-io/n8n/commit/4865d1e360a0fe7b045e295b5e1a29daad12314e
Patch
https://github.com/n8n-io/n8n/pull/16034
Release Notes
https://github.com/n8n-io/n8n/releases/tag/n8n%401.98.0
Vendor Advisory
https://github.com/n8n-io/n8n/security/advisories/GHSA-5vj6-wjr7-5v9f
More from n8n
8.8
CVE-2025-68613
n8n Vulnerable to Remote Code Execution via Expression Injection
10.0
CVE-2026-54309
n8n: n8n MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control Sessions
10.0
CVE-2026-21858
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
9.9
CVE-2026-85165
n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement
9.9
CVE-2026-72765
n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape
