Automation
n8n 3.0 Breaking Changes and 2.48.7: Self-Hosted Governance & Migration Guide
As n8n ships stable release 2.48.7 (Nov 20, 2026) alongside 3.0 early access ahead of a planned early December 2026 GA, self-hosted teams face mandatory Docker deployment, a 60-second default task-runner timeout, stricter SSRF and decompression limits, and the retirement of npm installs and legacy nodes. Combined with 2025–2026 CVE patch lessons and the November 10 Nod research preview, here is the architectural breakdown and migration checklist.
9 min read
n8n 3.0 Breaking Changes and 2.48.7: Self-Hosted Governance & Migration Guide
Executive Summary
- Stable vs. Early Access Timeline: On November 20, 2026, n8n shipped version 2.48.7 as its current stable release (
2.49.3in beta) while n8n 3.0.0 remains in early access ahead of a planned early December 2026 stable rollout. - Mandatory Docker & One-Way Upgrades: n8n 3.0 drops
npmandnpx n8ninstallations for self-hosted deployments, requiring Docker or Kubernetes/Helm, and database migrations to 3.x are one-way—making pre-upgrade backups and clearingSettings > Migration Reportmandatory (n8n Docs, Octacer). - Hardened Security & Runtime Defaults: Version 3.0 enables encryption key rotation by default, requires signing secrets on Slack Trigger credentials, expands the default SSRF IP blocklist, lowers the Compression node limit from
2 GiBto256 MiB, disables unverified community npm packages by default, and cutsN8N_RUNNERS_TASK_TIMEOUTfrom300seconds to60seconds. - Governance & Endpoint Exposure: A November 22, 2026 Jazz Security analysis highlights that self-hosted teams own patching—critical given
CVE-2025-68613on CISA's KEV list—while n8n Labs' November 10Nodpersonal agent preview lacks SSO, an admin console, or organization accounts.
What Changed in n8n 2.48.7 and 3.0 Early Access
While the 2.x branch continues receiving minor releases (2.48.7 on November 20, 2026) and will receive security and critical bug fixes for 12 months after 3.0 reaches GA—with 1.x support ending on December 31, 2026—the v3.0 Breaking Changes specification formalizes major architectural and security shifts (n8n Support, n8n Changelog).
1. Deployment and Storage Restructuring
Self-hosted n8n 3.0 no longer publishes a runnable n8n package to npm, ending npm and npx n8n workflows. Operators must run Docker, Docker Compose (recommended with PostgreSQL rather than SQLite for teams), or Kubernetes/Helm.
On first startup, n8n 3.0 automatically renames ~/.n8n/binaryData to ~/.n8n/storage and removes N8N_MIGRATE_FS_STORAGE_PATH. If both directories exist simultaneously, n8n refuses to start rather than guessing which volume holds active data. In addition, N8N_DEFAULT_BINARY_DATA_MODE=default (in-memory binary data mode) is removed; instances still using it fall back to filesystem on upgrade, requiring explicit filesystem, s3, azure, or database configuration.
2. Retired Nodes, Expression Helpers, and Behavioral Changes
Workflows referencing removed nodes fail at runtime and will not activate on startup in n8n 3.0 (v3.0 Breaking Changes). Major removals include:
- Legacy Code & Flow Nodes:
Function,Function Item(migrate toCode),Item Lists(migrate toSplit Out,Aggregate,Sort,Limit,Remove Duplicates, orSummarize),CronandInterval(migrate toSchedule Trigger),Workflow Trigger,AI Transform, andLangChain Code. - File & AI Nodes:
Read Binary File/Write Binary File(useRead/Write Files from Disk),Read PDF(Extract from File), legacyOpenAI,OpenAI Assistant,OpenAI Model,HTTP Request Tool,SerpApi,Motorhead,Zep, and split vector store Insert/Load nodes. - Expression & Sub-workflow Removals:
$getPairedItemis removed in favor of$('<node-name>').item,.itemMatching(), and.pairedItem(). InExecute Sub-workflow,Local FileandURLsources (from node v1.1 and older) are removed;$evaluateExpression()is removed from the JavaScriptCodenode; andAI Agentv1 modes (SQL Agent,ReAct Agent, etc.) are consolidated intoTools Agent. - Protocol & Trigger Shifts:
Chat TriggerWebSocket endpoints using Response Nodes now emit JSON frames ({"type": "message", "text": "..."}) withheartbeat-ackhandling (@n8n/chat1.31.0+required).Gmail Triggerversions1.0–1.3now execute under1.4semantics (skipping drafts unlessInclude Draftsis enabled, and ignoring sent/scheduled non-inbox mail).
3. Hardened Security Defaults in v3.0
flowchart TD
A["n8n 3.0 Container Startup"] --> B{"~/.n8n/storage Check"}
B -->|Both binaryData & storage exist| C["Fail Fast: Manual Volume Merge Required"]
B -->|Clean Path| D["Enable Encryption Key Rotation"]
D --> E["Enforce Slack Signing Secrets on Triggers"]
E --> F["Load Expanded SSRF Blocklist (CGNAT/NAT64/6to4)"]
F --> G["Disable Unverified npm Community Nodes"]
G --> H["Apply 60s Runner Timeout & 256 MiB Decompression Cap"]To harden self-hosted deployments out of the box, n8n 3.0 flips several opt-in protections to enabled-by-default (v3.0 Breaking Changes):
# Example hardened Docker environment overrides for n8n 3.0 readiness
environment:
- N8N_DEFAULT_BINARY_DATA_MODE=s3
- N8N_SSRF_PROTECTION_ENABLED=true
- N8N_SSRF_BLOCKED_IP_RANGES=default
- N8N_UNVERIFIED_PACKAGES_ENABLED=false
- N8N_RUNNERS_TASK_TIMEOUT=60
- N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES=268435456
- N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES=1000
- N8N_METRICS=true
- N8N_METRICS_INCLUDE_SCHEDULER_METRICS=true
Alongside these defaults, the built-in SSRF blocklist (N8N_SSRF_BLOCKED_IP_RANGES=default) adds four ranges—::/128 (IPv6 unspecified), 100.64.0.0/10 (carrier-grade NAT), 2002::/16 (6to4), and 64:ff9b::/96 (NAT64)—blocking internal-network pivot vectors unless explicitly allowlisted via N8N_SSRF_ALLOWED_IP_RANGES or N8N_SSRF_ALLOWED_HOSTNAMES.
Reliability, Cost, and Performance Analysis
Task Runner Timeouts, Queue Mode, and Scheduler Durability
Several operational limits change in 2.x through 3.0, directly impacting throughput and failure modes:
- 60-Second Code Task Ceiling: In n8n 3.0,
N8N_RUNNERS_TASK_TIMEOUTdrops from300seconds (5 minutes) to60seconds. Long-running JavaScript or PythonCodenode tasks that previously succeeded will time out unless operators explicitly raise the timeout (v3.0 Breaking Changes). - Compression Decompression Caps: The Compression node's default limits drop from
2 GiBto256 MiB(N8N_COMPRESSION_NODE_MAX_DECOMPRESSED_SIZE_BYTES) and from5,000to1,000entries (N8N_COMPRESSION_NODE_MAX_ZIP_ENTRIES). - Queue Mode Worker Memory:
OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERSis removed in 3.0; manual executions always run on workers in queue mode, requiring teams to size worker RAM accordingly. Meanwhile, n8n2.34+supportsN8N_WEBHOOK_RESPONSE_RELAY_OFFLOAD_ENABLED=trueto stream webhook responses larger than Redis's64 MiBrelay cap via binary storage (n8n Changelog). - Durable Scheduler & Error Quotas: Since n8n
2.45(and opt-in from2.32),Schedule Triggernodes run on a database-backed durable scheduler by default so restarts do not drop pending runs. Additionally, since n8n2.38(Cloud) and2.28.0(self-hosted Business/Enterprise), error-workflow executions are excluded from execution quotas.
Patch Velocity and the 2025–2026 CVE Record
Self-hosting keeps workflow payloads off n8n's EU/Frankfurt Azure infrastructure, where Cloud telemetry cannot be disabled (Jazz Security). However, self-hosting shifts patching, TLS, encryption at rest, and data deletion entirely to the operator—a critical trade-off given the severity of recent n8n advisories:
| CVE ID | Published | CVSS 3.1 | Auth Required | Impact & Exploitation Status | Fixed In |
|---|---|---|---|---|---|
| CVE-2025-68613 | Dec 19, 2025 | 9.9 (GitHub) / 8.8 (NVD) | Yes (workflow edit) | Expression injection running code as n8n process; added to CISA KEV March 11, 2026 | 1.120.4, 1.121.1, 1.122.0 |
| CVE-2025-68668 | Dec 24, 2025 | 9.9 | Yes | Python Code node sandbox bypass executing host commands | 2.0.0 |
| CVE-2026-21877 | Jan 6, 2026 | 9.9 | Yes | Arbitrary file write leading to code execution | 1.121.3 |
| CVE-2026-21858 | Jan 7, 2026 | 10.0 | No | Unauthenticated server file access via public Form workflows | 1.121.0 |
| CVE-2026-27493 | Feb 2026 | 9.0 (NVD) | No | Unauthenticated expression injection in Form nodes | Patched in 2026 updates |
While n8n Cloud upgrades every instance at least every two weeks (and auto-patched CVE-2026-21858), self-hosted operators—especially developers running ad-hoc npx n8n instances on laptops—must maintain an upgrade cadence measured in days (Jazz Security).
Practical Implementation and Trade-Offs
Governance Matrix: Cloud vs. Self-Hosted Paid vs. Community Edition
| Control / Responsibility | n8n Cloud | Self-Hosted Business / Enterprise | Self-Hosted Community Edition |
|---|---|---|---|
| Patching & TLS | Managed by n8n (biweekly+) | Customer-managed | Customer-managed |
| SSO (SAML / OIDC) & Enforced 2FA | Enterprise only | Business & Enterprise | Not available |
| Execution-Data Redaction | Enterprise only (2.16+ / 2.26+) |
Enterprise only | Not available (UI visibility only; DB unredacted) |
| External Secrets (Vaults) & SIEM Logs | Enterprise only | Enterprise only | Not available |
Node Type Policies (2.44+ API) |
Enterprise (Preview) | Enterprise (Preview) | Use NODES_EXCLUDE env var |
| Telemetry Toggle | Cannot be disabled | N8N_DIAGNOSTICS_ENABLED=false |
N8N_DIAGNOSTICS_ENABLED=false |
Pre-3.0 Migration Checklist and Nod Endpoint Risk
Before n8n 3.0 reaches stable GA in early December 2026, platform teams should execute five steps (n8n Docs, Octacer):
- Upgrade to latest
2.x(2.48.7) first: Never jump directly from1.x(EOL December 31, 2026) to3.0. - Clear
Settings > Migration Report: Resolve or mark"won't fix"on every flagged legacy node (Function,Cron,AI Transform),$getPairedItemexpression, missing Slack signing secret, andExecute Sub-workflowURL/file reference. - Migrate off
npmto Docker Compose: Bind-mount~/.n8n/storagecleanly and configureN8N_DEFAULT_BINARY_DATA_MODEtos3,azure,filesystem, ordatabase. - Snapshot Database & Encryption Key: Because
3.xdatabase migrations are irreversible, back up PostgreSQL andN8N_ENCRYPTION_KEYbefore testing3.0on a staging clone. - Govern n8n Labs'
Nodon Managed Endpoints: Released November 10, 2026 as an Apache 2.0 research preview,Nodruns locally in a VM browser using employees' personal logins, sends screenshots and task data to user-selected LLM providers, enables usage sharing by default, and offers no SSO, admin console, or organization accounts (Jazz Security, Activepieces). Confidence Note: Activepieces notes that as of November 11, 2026, Nod's exact release metrics and full source governance details remain limited; security teams should restrict OAuth app consent in Entra ID / Google Workspace and block unmanaged Nod binaries via MDM until organization controls ship.
Frequently Asked Questions
1. When does n8n 3.0 become stable, and do we have to upgrade immediately?
n8n plans the stable 3.x release for early December 2026 (no exact day is published). Teams on 2.x do not have to upgrade immediately: 2.x will receive security and critical bug fixes for 12 months after 3.0 GA. However, 1.x support ends on December 31, 2026 (n8n Support).
2. Can we roll back from n8n 3.0 to 2.x if a workflow breaks?
No. n8n database migrations are forward-only. The only rollback path from 3.0 to 2.x is restoring the full database and storage backup taken prior to upgrading (Octacer).
3. Can we still run self-hosted n8n 3.0 via npm or npx n8n?
No. n8n 3.0 stops publishing a runnable n8n package to npm. Self-hosted instances must run via Docker, Docker Compose, or Kubernetes/Helm (v3.0 Breaking Changes).
4. Does n8n's execution-data redaction encrypt payloads in the database?
No. Per n8n's documentation cited by Jazz Security, redaction controls UI visibility when users inspect executions; it does not encrypt or alter stored execution data in the database. Prune execution history aggressively on self-hosted servers.
5. Is n8n Labs' Nod safe for corporate laptops?
Not for managed fleets today. Nod lacks SSO, organization accounts, and an admin console, sends screenshots and read content to user-chosen model providers, and shares usage telemetry by default. Restrict OAuth consent in your identity provider and manage installations via MDM (Jazz Security).
Sources
- n8n — Changelog (Current Stable 2.48.7 / Beta 2.49.3) (November 20, 2026): https://docs.n8n.io/changelog
- n8n — v3.0 Breaking Changes | Changelog (Updated October–November 2026): https://docs.n8n.io/changelog/v30-breaking-changes
- n8n — GitHub Releases (
n8n@2.48.7) (November 20, 2026): https://github.com/n8n-io/n8n/releases - n8n Support — How do I prepare for n8n 3.0? (October 26, 2026): https://support.n8n.io/article/how-do-i-prepare-for-n-8-n-3-0
- Jazz Security — Is n8n safe for company data, and should employees run Nod on work laptops? (November 22, 2026): https://jazz.security/dlp-explained/dlp-basics/is-n8n-safe-for-company-data/
- Activepieces — Nod by n8n: What It Is and What's Known (2026) (November 21, 2026): https://www.activepieces.com/blog/nod-by-n8n-what-it-is-and-whats-known-2026
- Octacer — n8n 3.0 Upgrade Playbook: Clear the Migration Report First (November 12, 2026): https://octacer.com/playbooks/n8n-3-upgrade-migration-report-playbook