Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. CVE-2025-49592

CVE-2025-49592: n8n allows open redirects via the /signin endpoint

June 27, 2025

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.

References

  • github.com/advisories/GHSA-5vj6-wjr7-5v9f
  • github.com/n8n-io/n8n
  • github.com/n8n-io/n8n/commit/4865d1e360a0fe7b045e295b5e1a29daad12314e
  • github.com/n8n-io/n8n/pull/16034
  • github.com/n8n-io/n8n/releases/tag/n8n%401.98.0
  • github.com/n8n-io/n8n/security/advisories/GHSA-5vj6-wjr7-5v9f
  • nvd.nist.gov/vuln/detail/CVE-2025-49592

Code Behaviors & Features

Detect and mitigate CVE-2025-49592 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.98.0

Fixed versions

  • 1.98.0

Solution

Upgrade to version 1.98.0 or above.

Impact 4.6 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

npm/n8n/CVE-2025-49592.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:31 +0000.