CVE-2025-49592: 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.
Published Jun 27, 2025
Affected packages
n8n
- Ecosystem
- npm
- Affected
- <= 1.97.0
- Fixed in
- 1.98.0
- Check
npm ls n8n
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to tatianahub.
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/releases/tag/n8n%401.98.0
- https://github.com/advisories/GHSA-5vj6-wjr7-5v9f
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More n8n vulnerabilities
All n8n entriesCVE-2026-86073
n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
medium5.9Sep 10, 2026CVE-2026-86074
n8n: Instance AI Credential Setup Accepts Unvalidated Probe URL from Fetched Content
medium5.9Sep 10, 2026CVE-2026-86075
n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint
high8.7Sep 10, 2026CVE-2026-86076
n8n: Expression Sandbox Escape via Class-Field Sanitizer Rebinding Can Lead to Code Execution
high8.7Sep 10, 2026CVE-2026-86077
n8n: Anonymous Approval-Gate Bypass via Reused resumeToken over the Chat WebSocket
medium6.3Sep 10, 2026CVE-2026-86078
n8n: Prototype Pollution via Workflow Structure Summary Can Lead to Denial of Service
medium6.0Sep 10, 2026
