THE PERMISSION [LAYER]

AI agent incident

n8n patched a sandbox escape that ran OS commands as the n8n process

Reported · 1 source

What happened

n8n fixed a sandbox escape in versions 2.31.5 and 2.32.1 that let authenticated workflow editors run operating system commands as the n8n process.

Why it matters

Automation platforms increasingly orchestrate agent workflows, and a sandbox that holds only against well-behaved input passes remote code execution straight through to the platform team.

New incidents by email

Get incidents like this one in your inbox

New AI agent incidents are covered in the briefing, with what to check on the agents you already run. At least once a week, free.

You confirm by email. Unsubscribe in one click.

Sources

  1. The Hacker News n8n Sandbox Escape Lets Workflow Editors Run OS Commands as the n8n Process

Background reading

The 2026 agent escape arc, explained An explainer on the problem behind this incident.

Cite or correct this record

“n8n patched a sandbox escape that ran OS commands as the n8n process.” The Permission Layer AI Agent Incident Database, https://thepermissionlayer.com/incidents/n8n-sandbox-escape/. Database updated November 10, 2026.

Every record traces to the dated sources above. If something here is wrong or missing, email editor@thepermissionlayer.com and it gets fixed. See this record in the full list.

The Permission Layer

Get the next incident like this explained

When an AI agent breaks out, leaks data or runs up a bill, the briefing covers what happened and what to check on the agents you already run. At least once a week, five-minute read, free.

You confirm by email. Unsubscribe in one click.