Advisory

GHSA-vjf3-2gpj-233v

Also known as: CVE-2026-56350

Summary

n8n has an SSO Enforcement Bypass in its Self-Service Settings API

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-26 22:45 UTC
Modified
2026-07-08 08:12 UTC

Affected packages and fixes

n8n

npm · All systems

Affected

  • introduced 0, fixed 2.8.0 (semver)

Fixed versions

2.8.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences