CVE-2025-49592 n8n Login Flow has Open Redirect Vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| n8n | < 1.98.0 | 1.98.0 | Fixed |
| npm n8n(npm) | < 1.98.0; <= 1.97.0 | 1.98.0 | Fixed |
| n8n-io n8n | = < 1.98.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm n8n(npm) | <= 1.97.0 | No fix listed |
| n8n-io n8n | = < 1.98.0 | No fix listed |
| n8n | < 1.98.0 | 1.98.0 |
| npm n8n(npm) | < 1.98.0 | 1.98.0 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-5vj6-wjr7-5v9f vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/n8n-io/n8n/pull/16034 patch
- https://github.com/n8n-io/n8n/commit/4865d1e360a0fe7b045e295b5e1a29daad12314e patch
- https://github.com/n8n-io/n8n/releases/tag/n8n%401.98.0 release-notes
- github.com
- github.com product