Skip to content
n8nGHSA-5vj6-wjr7-5v9f

n8n allows open redirects via the /signin endpoint

Medium4.6CVE-2025-49592 · Published Jun 27, 2025

GitHub advisory

Affected versions

PackageAffectedFixed in
n8n
npm
< 1.98.01.98.0
Details and references

### 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

CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-601
Also known as
CVE-2025-49592

More n8n advisories

All n8n
DateAdvisory
Jul 32025n8n Vulnerable to Denial of Service via Malformed Binary Data Requests
CVE-2025-49595Medium4.9fixed in 1.99.0
Jul 32025n8n is vulnerable to Improper Authorization through its `/stop` endpoint
CVE-2025-52554Medium4.3fixed in 1.99.1
Aug 192025Stored XSS in n8n Form Trigger allows Account Takeover via injected iframe and video/source
CVE-2025-52478High8.7fixed in 1.98.2
Aug 202025n8n symlink traversal vulnerability in "Read/Write File" node allows access to restricted files
CVE-2025-57749Medium6.5fixed in 1.106.0
Apr 282025n8n Vulnerable to Stored XSS through Attachments View Endpoint
CVE-2025-46343Medium5.0fixed in 1.90.0
Sep 152025Stored XSS in n8n LangChain Chat Trigger Node via initialMessages Parameter
CVE-2025-58177Medium4.1fixed in 1.107.0

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.