N8nApplication

CVE-2026-56350

HIGH · 7.7 CVSS v3.1 Published 2026-06-30
Fix available
A fix is available. Upgrade to 2.8.0 or later.
See remediation →
83/100
Remediation priority · High
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
n8n before 2.8.0 contains an authentication bypass vulnerability allowing authenticated SSO users to disable SSO enforcement through the API. Attackers can create local password credentials to authenticate directly, bypassing organizational SSO policies and identity-provider-enforced multi-factor authentication.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

n8n before version 2.8.0 allows authenticated SSO users to bypass SSO enforcement by manipulating the API to disable SSO settings and create local password credentials. This permits direct local authentication that circumvents organizational SSO policies and any MFA enforced by the identity provider.

MitigationUpgrade n8n to version 2.8.0 or later. Until then, restrict API access to trusted administrators and monitor for unauthorized local credential creation.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
N8nApplication
Affected:< 2.8.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check n8n version
    Run `n8n --version` or check the version in the n8n UI under Settings > About. Compare against the affected range of < 2.8.0.
    Affected if The installed version is below 2.8.0.
  2. Verify SSO is configured
    In n8n UI, navigate to Settings > SSO to confirm SSO is enabled. Alternatively, check the environment variable N8N_SSO_ENABLED or review n8n configuration files for SSO settings.
    Affected if SSO is enabled and the n8n version is below 2.8.0.
  3. Review local credentials in the system
    In n8n UI, go to Settings > Users > Owners to list all users. Check if any users have password-based authentication (local credentials) rather than SSO-linked accounts. Use the API endpoint GET /users to enumerate all users and their auth methods.
    Affected if Local password-based credentials exist alongside SSO-enabled authentication.
  4. Audit API logs for SSO modification attempts
    Review n8n audit logs or external logging for API requests to endpoints that modify SSO settings (such as PUT/POST to SSO configuration endpoints) and for requests to create new credentials of type 'password'. Look for POST /credentials with type 'password' from non-admin accounts.
    Affected if API logs show unauthorized attempts to modify SSO settings or create local password credentials.

You are affected if n8n version is below 2.8.0 and SSO is enabled, especially if local password credentials exist or API activity shows attempts to bypass SSO controls.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 2.8.0 or later
Fixed in 2.8.0
Interim mitigation

Upgrade n8n to version 2.8.0 or later. Until then, restrict API access to trusted administrators and monitor for unauthorized local credential creation.

Recommended fix High confidence

2.8.0 or later

  1. 1. Back up your n8n instance data and configuration files
  2. 2. Stop the n8n service
  3. 3. If using Docker: pull the n8n:2.8.0 or later image
  4. 4. If using npm/yarn: run 'npm install [email protected]' or upgrade to the latest version
  5. 5. Review release notes for any required configuration changes
  6. 6. Start the n8n service
  7. 7. Verify SSO enforcement is functioning correctly
  8. 8. Confirm that local password credential creation is no longer possible for SSO-enabled users
Caveat Review n8n 2.8.0 release notes for any breaking changes before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in N8n Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA1.0 h
10.0 hours of engineering $1,750
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-56350 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-56350 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data