Update n8n and stop feeding webhook data into record IDs
n8n: IDs from webhook bodies could steer integration nodes to other API endpoints using your stored credentials, fixed in 1.123.96, 2.47.6, 2.48.3 and 3.2.2 · Security incident · GitHub (n8n advisory) · n8n-io · Nov 13, 2026
What happened
n8n's advisory says several integration nodes built API paths from record, table or resource IDs without encoding them. If a workflow passed untrusted input such as a webhook body into those fields, a caller could add relative path segments and make the node read, modify or delete other resources with the node's stored credential.
How to prevent it
Update n8n to 1.123.96, 2.47.6, 2.48.3, 3.2.2 or later, give each workflow's credentials only the access it needs, and validate webhook input before using it as an ID.
Fix prompt for your own AI tool
Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.
I build automations and AI agents in n8n. 1) Tell me how to check my n8n version; the fix is in 1.123.96, 2.47.6, 2.48.3 and 3.2.2. 2) Help me list active workflows that start from a webhook or form and pass that data into a record, table or resource ID field. 3) Show me how to validate those IDs (allowed characters only, no slashes or dots) before they reach the node. 4) Suggest how to scope each workflow's credentials to the smallest set of resources. Don't change anything until I've approved your plan. Never ask me to paste API keys, passwords or .env contents; tell me where to check them myself.
Why this keeps happening: trusting agents & ai input
An AI agent treats everything it reads as possible instructions: a web page, a README, an email, a code comment or the output of another tool. If that content was written by an attacker, the agent can be steered into running commands, reading files or sending data somewhere it should not.
A quick checklist before you ship
- Give each agent only the tools and folders it needs for the task at hand.
- Require manual approval before it runs shell commands, sends network requests, deletes files or spends money.
- Do not open untrusted repositories or MCP configs with auto-run turned on.
- Keep API keys and production credentials out of any environment an agent can read.
More on this: every trusting agents & ai input story and our related guide.
Tools involved
Related stories
- Upgrade n8n to 2.42.6, 2.43.3 or 3.0.1
n8n: LangChain Code and Function nodes let workflow editors run code in the main process - Update or remove WordPress MCP plugins, then reissue tokens
WordPress 'Secure MCP Server for Claude, ChatGPT, Gemini, Cursor' plugin: any valid MCP token could give its holder full Administrator (CVE-2026-131688) - Ask how your AI IDE handles tool calls from open models
AWS Kiro Web: agents on DeepSeek v3.2, Qwen3-coder-next, GLM-5 and MiniMax could run commands hidden in files they read (CVE-2026-136267)
Source: original post on GitHub (n8n advisory) ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.