n8n Incident Highlights Importance of Access Controls in Workflow Management

Original announcement: n8n · 2026-11-23. Read the official announcement.

Summary of the Incident

On a recent Monday morning, an n8n user discovered their “Lead Routing” workflow had stopped routing leads. The workflow had been edited over the weekend, but no one on the team admitted to making the change. The problem stemmed from inadequate access controls: a contractor who left the company still had access, and a shared password was leaked in a team Slack channel. This allowed unauthorized changes that disrupted lead assignments without raising alarms immediately.

What Went Wrong and the Consequences

  • The “Lead Routing” workflow was accessible for editing by 40 users without role-based restrictions.
  • A contractor who had finished working on Friday still had access, as offboarding was incomplete.
  • The contractor’s password had been shared openly in a Slack channel, compromising account security.
  • Unauthorized workflow edits occurred but the execution logs appeared normal, hiding the immediate problem.

This resulted in leads not reaching sales reps for several days, demonstrating how lapses in access management can cause significant business interruptions.

How n8n’s Access Controls Could Have Prevented the Incident

1. Projects and Custom Roles

n8n allows organizing workflows and credentials into projects with role-based access. Assigning the Lead Routing workflow to a specific project and limiting edit permissions would have prevented unauthorized changes.

2. Single Sign-On (SSO) Integration

Using SSO ensures user identities are managed centrally. When an employee or contractor leaves, disabling their account in the identity provider stops access. However, admins must also delete the user within n8n to complete offboarding.

3. Two-Factor Authentication (2FA) Enforcement

Enforcing 2FA adds a second layer of security, preventing unauthorized access even if passwords are leaked. This control applies to users logging in via email and password, though not to those using SSO.

Practical Steps for Developers and Teams

  1. Create projects for important workflows and assign relevant team members only.
  2. Regularly audit user access, especially after employees or contractors leave.
  3. Implement SSO with your identity provider to centralize access management.
  4. Enable 2FA enforcement for users authenticating without SSO.
  5. Update offboarding procedures to include removing user accounts from both identity providers and n8n itself.

By layering these controls, teams reduce the risk of unintended or malicious workflow edits that could impact business operations.

Conclusion

While single layers of protection help, combining projects, SSO, and 2FA significantly improves workflow security in n8n. Teams scaling beyond solo experiments should adopt these practices proactively to avoid disruptions like the one described.

Leave a Comment

Scroll to Top