GitHub Advisoryadvisory · npm

GHSA-vjf3-2gpj-233v n8n has an SSO Enforcement Bypass in its Self-Service Settings API

MEDIUM Published 2026-02-26 Modified 2026-02-26 Official page ↗
Ecosystem
npm
Packages
n8n
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N
Weaknesses
CWE-269, CWE-284, CWE-287
Reviewed
2026-02-26

Affected packages

• npm n8n: < 2.8.0 → fixed in 2.8.0

Description

Impact An authenticated user signed in through Single Sign-On (SSO) could disable SSO enforcement for their own account through the n8n API. This allowed the user to create a local password and authenticate directly with email and password, completely bypassing the organization's SSO policy, centralized identity management, and any identity-provider-enforced multi-factor authentication. Patches The issue has been fixed in n8n version 2.8.0. Users should upgrade to this version or later to remediate the vulnerability. Workarounds If upgrading is not immediately possible, administrators should consider the following temporary mitigations: • Monitor audit logs for users who create local credentials after authenticating via SSO. • Restrict the n8n instance to fully trusted users only. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Related

Weakness · CWE (3)

  • CWE-269 Improper Privilege Management weakness
  • CWE-284 Improper Access Control weakness
  • CWE-287 Improper Authentication weakness

References