N8N · GHSA-mgpr-56r4-5c67 · AI agents & MCP
FIX → >= 1.123.85 +2
Unescaped input in the Microsoft Outlook contact lookup and SharePoint v1 item update nodes lets a crafted value rewrite the OData query. An attacker who can feed data into those workflow fields can list a mailbox's full contact list or make the node write field values onto an unintended SharePoint list item, within the stored credential's scope.
first public Oct 14, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Teams running self-hosted or cloud n8n that use the Microsoft Outlook contact lookup or the SharePoint v1 item update/upsert node with workflow input from untrusted sources bound into those fields. Workflows that do not use these nodes, or that only bind trusted values, are not exposed to the injection path.
Not affected if no-outlook-or-sharepoint-v1-nodes, trusted-input-only
Who cares microsoft-outlook, n8n, self-hosted, sharepoint
n8n --version or in the instance settings, and compare it to the fixed versions.getAll operation and the Microsoft SharePoint v1 item update or upsert operation.The Microsoft Outlook contact lookup and the Microsoft SharePoint v1 item update build an OData $filter string literal from an expression-bindable parameter without escaping it. A single quote in the value closes the literal and rewrites the query. Where a workflow binds untrusted input into those fields, the Outlook lookup returns the bound mailbox's entire contact list instead of one contact, and the SharePoint pre-write lookup can be redirected so the node writes the submitted field values onto a list item the workflow never intended, both within the scope of the stored credential.
The issue has been fixed in n8n versions 1.123.85, 2.44.1, and 2.43.5. Users should upgrade to one of these versions or later to remediate the vulnerability.
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
getAll operation or the Microsoft SharePoint v1 item update/upsert operation and remove any bindings that pass untrusted external data into the affected parameters.These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
Upgrade to >= 1.123.85 +2
1.123.852.43.52.44.1