# CVE-2025-49592: n8n Login Flow has Open Redirect Vulnerability

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-06-26T19:45:27.862Z
- Modified: 2026-06-17T09:31:33.127Z
- Also known as: GHSA-5vj6-wjr7-5v9f
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- n8n-io n8n: < 1.98.0
- n8n (npm): before 1.98.0
- n8n n8n: before 1.98.0

## Every score

- GitHub_M: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-5vj6-wjr7-5v9f> (vendor-advisory, web)
- <https://github.com/n8n-io/n8n/pull/16034> (patch, web)
- <https://github.com/n8n-io/n8n/commit/4865d1e360a0fe7b045e295b5e1a29daad12314e> (patch, web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n%401.98.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-49592> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2025-49592](https://www.cve.org/CVERecord?id=CVE-2025-49592), CVE Terms of Use, modified 2025-06-26
- GitHub Advisory Database: [GHSA-5vj6-wjr7-5v9f](https://github.com/advisories/GHSA-5vj6-wjr7-5v9f), CC-BY-4.0, modified 2025-06-27
- NVD: [CVE-2025-49592](https://nvd.nist.gov/vuln/detail/CVE-2025-49592), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-49592 · Whole record: https://cve.day/CVE-2025-49592.json · Rebuilt by cve.day 2026-11-25T22:58:59.664Z
