n8n allows open redirects via the /signin endpoint
Impact
This 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.
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
- 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.
Patches
The issue has been patched in 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.
Patch commit: https://github.com/n8n-io/n8n/pull/16034
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | n8n | < 1.98.0 | 1.98.0 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-5vj6-wjr7-5v9f
- https://nvd.nist.gov/vuln/detail/CVE-2025-49592
- https://github.com/n8n-io/n8n/pull/16034
- https://github.com/n8n-io/n8n/commit/4865d1e360a0fe7b045e295b5e1a29daad12314e
- https://github.com/n8n-io/n8n
- https://github.com/n8n-io/n8n/releases/tag/n8n%401.98.0
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N- Weakness (CWE)
CWE-601- Platform
- npm
- Package
n8n- Disclosed
- 27.06.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5vj6-wjr7-5v9f - CC BY 4.0
Vulnerability history: n8n
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 156
- First → latest
- 05.2023 09.2026
- Without a fix
- 1
- Exploited in attacks
- 1
Severity breakdown
- Critical 24
- High 58
- Medium 74
Disclosures per year
- 2023: 3
- 2024: 0
- 2025: 14
- 2026: 139
-
n8n allows open redirects via the /signin endpoint this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.