GHSA-5vj6-wjr7-5v9f
n8n allows open redirects via the /signin endpoint
Quick fix
GHSA-5vj6-wjr7-5v9f — n8n: upgrade to the fixed version with the command below.
npm install n8n@1.98.0Details
### 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](https://github.com/n8n-io/n8n/releases/tag/n8n%401.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
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-5vj6-wjr7-5v9f[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-49592[ADVISORY]
- https://github.com/n8n-io/n8n/pull/16034[WEB]
- https://github.com/n8n-io/n8n/commit/4865d1e360a0fe7b045e295b5e1a29daad12314e[WEB]
- https://github.com/n8n-io/n8n[PACKAGE]
- https://github.com/n8n-io/n8n/releases/tag/n8n%401.98.0[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/n8n"]}'