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

CVE-2026-33665: n8n: LDAP Email-Based Account Linking Allows Privilege Escalation and Account Takeover

March 25, 2026

When LDAP authentication is enabled, n8n automatically linked an LDAP identity to an existing local account if the LDAP email attribute matched the local account’s email. An authenticated LDAP user who could control their own LDAP email attribute could set it to match another user’s email — including an administrator’s — and upon login gain full access to that account. The account linkage persisted even if the LDAP email was later reverted, resulting in a permanent account takeover.

  • LDAP authentication must be configured and active (non-default).

References

  • github.com/advisories/GHSA-c545-x2rh-82fc
  • github.com/n8n-io/n8n
  • github.com/n8n-io/n8n/security/advisories/GHSA-c545-x2rh-82fc
  • nvd.nist.gov/vuln/detail/CVE-2026-33665

Code Behaviors & Features

Detect and mitigate CVE-2026-33665 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.121.0, all versions starting from 2.0.0-rc.0 before 2.4.0

Fixed versions

  • 2.4.0
  • 1.121.0

Solution

Upgrade to versions 1.121.0, 2.4.0 or above.

Impact 8.2 HIGH

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

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

npm/n8n/CVE-2026-33665.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:19:27 +0000.