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

More on this: every trusting agents & ai input story and our related guide.

Tools involved

n8n stories

Related stories

Source: original post on GitHub (n8n advisory) ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.

The Honest Build. Real stories, not hype.

Every week: real stories of what building with AI actually took, the one lesson worth keeping, and the security slip-ups to avoid. Free, unsubscribe anytime. Weekly, every Friday.