Who acts when an automation fails? Five review questions on permissions and credentials in n8n
When something fails, automations often keep running unnoticed – sometimes with more permissions than expected. A current n8n finding shows why roles and credentials should also be settled for this case, and which five questions those responsible can ask.
Serjoscha Amthor-Williams · Published · approx. 4 min read
In brief
When an automation fails, a second process usually starts automatically: the error workflow. It notifies, logs or cleans up – and almost always runs unnoticed in the background. A finding on the automation tool n8n published on 14 October 2026 shows that precisely this error path could pass on permissions that are kept separate in normal operation. For those responsible, this means: the question “Who may do what?” should also be answered for the failure case.
Why the failure case is easily overlooked
Roles and access rights are usually planned for everyday operation: who may edit a process, who may start it, who may use credentials. What happens when something goes wrong is rarely considered. Yet error processes often work with the same access as the actual process – for example to mailboxes, client data or specialist applications. In law firms, at insurance brokers and financial service providers, these are often exactly the accesses that are meant to be particularly protected.
The current occasion: what n8n describes
According to the vendor, the error workflow in n8n previously also received the association with the person who had triggered the original run. Under certain conditions, a person with edit rights in a shared project could thereby use a colleague's personal credentials. After the fix, the error workflow only receives information without reference to a person.
- Vendor rating: moderate (“Moderate”)
- Fixed in: 2.41.5 and 2.42.2 or later, each in the matching release line. The advisory contains no information for other lines.
- Relevant mainly where personal (user-bound) credentials are used and people have edit rights who are not fully trusted.
That an error workflow is configured does not in itself prove exploitability. It is a different finding from the one on secrets in error data, which we assessed in the previous article “When error data contains credential secrets”; the fixed versions of the two findings differ.
What the vendor recommends
- Update to a version with the fix.
- If that is not immediately possible: limit access to the instance to trusted people, review memberships and edit rights in team projects, check the error workflow setting of all active workflows for unexpected values and switch off dynamic credentials if they are not needed. The vendor explicitly calls these measures temporary and incomplete.
Five review questions for those responsible
These questions are editorial suggestions, not vendor statements. They can be put to the responsible IT team or service provider even without detailed technical knowledge:
- Which version is actually running? Not the planned one, but the installed one – including the release line.
- Who has edit rights, and does every person need them? Especially in shared projects.
- Which processes have an error workflow, who owns it, and was the assignment changed recently?
- Are personal credentials used, and is it documented what for?
- Is there a defined way to revoke and reissue credentials when there is suspicion?
Anyone who can answer these questions in writing has a traceable status – also for later enquiries.
Why an update does not settle everything
An update prevents the described transfer in future. It does not answer whether the path was used before. If unexpected assignments of error workflows are noticed, it should be checked whether affected credentials should be revoked. Whether this gives rise to reporting or notification obligations depends on the individual case and the applicable law – which differs in Germany, Austria and Switzerland – and is a matter for your data protection or legal partner.
Frequently asked questions
- What is an error workflow? A process that starts automatically when another process fails – for example to send a notification or to log the error.
- Does this affect every n8n installation? No. According to the vendor, the finding is mainly relevant where personal credentials are used and people who are not fully trusted have edit rights. Whether a specific installation is affected can only be checked there.
- Is it enough to update n8n? For the future, yes, in the matching release line. For the past, the question remains whether assignments were changed unexpectedly.
- Does this only apply to n8n? The specific finding concerns n8n. The review question “On whose behalf does a process act in the failure case?” can be applied to any automation tool.
Limits of this assessment
This article reflects the vendor's statements at the time of retrieval and replaces neither the original advisory nor a review of your own instance. It makes no statement as to whether a specific organisation is affected, contains no instructions for exploitation and does not constitute legal advice. Corrections by the vendor after the retrieval date are not taken into account.
Sources
- n8n (GitHub Security Advisory): Per-User Credential Theft via Error-Workflow Execution Context Inheritance (GHSA-pcr3-v5vr-qppf)
- n8n Community: Security update 14 October 2026