n8n Security Update: Patch the 15 October 2026 Advisories

To apply the n8n security update for the October 2026 advisories, upgrade self-hosted n8n to 2.44.5 (the current stable release) or at least 2.44.1, 2.43.5 or 1.123.85 for your release line. On October 14, 2026, n8n published 15 GitHub security advisories, four of them rated High, and most need only a low-privilege account to exploit. Anything on 2.42.x or older is still exposed to the newest fixes.

This guide shows how to check your version, back up, upgrade Docker, Docker Compose or npm installs, and apply temporary workarounds if you cannot upgrade today. All version numbers come from the official n8n GitHub advisories, releases and npm registry, checked on October 22, 2026. n8n Cloud is managed by n8n, so this guide is for self-hosted instances.

What changed in the n8n security update

The October 14 batch covers credential leaks, cross-project data access, stored XSS and denial of service. No CVE IDs were listed on the advisories when checked. These are the four High-rated ones:

AdvisoryIssueCVSS v4Fixed in
GHSA-mp7q-23hg-35cfStored XSS via webhook responses without sandbox CSP8.41.123.85, 2.43.5, 2.44.1
GHSA-wvjj-qg37-pv73Crafted workflow ID reads and edits Data Tables in other projects7.22.43.5, 2.44.1
GHSA-m7gv-mpg5-7c9vRead/Write Files glob pattern blocks the event loop7.11.123.85, 2.43.5, 2.44.1
GHSA-fvv4-gmv9-xqf5Prototype pollution in workflow history compaction (DoS)7.12.41.4, 2.42.1

The Moderate ones matter too if several people share your instance. Examples from the same batch:

  • GHSA-qmvv-q3c9-wpp7: Git, MongoDB Atlas Vector Store and Google Cloud Storage nodes stored secrets in execution error data, so users who can view executions could read them.
  • GHSA-43v8-hjhm-chjp: Chat Hub users with the chat-only role could add tools that run code or touch files.
  • GHSA-3c3p-5959-3ghr: The Slack Trigger webhook accepted unsigned requests when no signing secret was set. With file downloads enabled, the Slack token could be sent to an attacker's host. This one needs no login.

Two earlier High advisories from September 30, 2026 are also worth knowing: an owner account takeover through the MCP workflow-validation tool (GHSA-5jr4-xmvf-frmj, owners without MFA) and an SQL injection in the Microsoft SQL node (GHSA-5qpp-pqww-h7fp). The fixes for the first one shipped in 2.41.4 and 2.42.1.

Who is most at risk? Almost every High issue needs an account that can create or run workflows. If you are the only user, your risk is lower, but public webhooks and the Slack issue still apply. If you give accounts to teammates, clients or students, treat this as urgent.

Check which n8n version you run

For Docker or Docker Compose, find the container and ask n8n for its version:

docker ps --filter "ancestor=n8nio/n8n" --format "{{.Names}}  {{.Image}}"
docker exec <CONTAINER_NAME> n8n --version

For a global npm install, run n8n --version directly.

If your compose file pins a tag such as n8nio/n8n:2.42.0, that pin is the version you will get back after a restart. Fix the tag, not just the running container.

Then find your target version:

You runUpgrade toWhy
2.44.0 to 2.44.42.44.5Current stable, includes 2.44.1 fixes
2.43.x2.43.8 or 2.44.52.43.5 is the minimum on this line
2.42.x or older 2.x2.44.5Oct 14 fixes list no 2.42 patch
1.x1.123.85 or laterThe 1.x fix version in the advisories

The npm registry showed stable and latest at 2.44.5 and beta/next at 2.45.1 on October 22, 2026. Use the stable line for production.

Back up before you upgrade n8n

An n8n upgrade runs database migrations on start, so take a backup you can actually restore. Two things matter most: the data and the encryption key. Without the same N8N_ENCRYPTION_KEY, restored credentials cannot be decrypted.

Export workflows and credentials with the n8n CLI (credentials stay encrypted):

docker exec <CONTAINER_NAME> n8n export:workflow --all --output=/home/node/.n8n/backup/workflows/ --separate
docker exec <CONTAINER_NAME> n8n export:credentials --all --output=/home/node/.n8n/backup/credentials/ --separate

If you use PostgreSQL, also dump the database:

docker exec <POSTGRES_CONTAINER> pg_dump -U <DB_USER> -d <DB_NAME> -Fc > n8n-$(date +%F).dump

If you run the default SQLite database, stop n8n and copy the whole data folder (/home/node/.n8n inside the container, ~/.n8n for npm). Save your encryption key from the environment or from the config file in that folder, and store it outside the server.

n8n security update flow: check version, back up data and encryption key, upgrade to a patched version, verify, then apply workarounds only if the upgrade is blocked
n8n security update flow for self-hosted instances
View PlantUML source
@startuml
skinparam shadowing false
skinparam defaultFontSize 14
start
:Check version;
if (Patched already?) then (yes)
  :Review users and webhooks;
else (no)
  :Back up data + key;
  if (Can upgrade now?) then (yes)
    :Upgrade to 2.44.5;
    :Verify version and runs;
  else (no)
    :Apply workarounds;
    :Schedule upgrade;
  endif
endif
stop
@enduml

Upgrade self-hosted n8n to a patched version

Docker Compose

Pin the image tag in docker-compose.yml so the fix is explicit and repeatable:

services:
  n8n:
    image: n8nio/n8n:2.44.5

Then pull and recreate the container:

docker compose pull
docker compose down
docker compose up -d
docker compose logs -f n8n

Wait for the migrations to finish in the log before you open the editor. These three commands match the official n8n Docker update steps.

docker run

docker pull n8nio/n8n:2.44.5
docker stop <CONTAINER_NAME>
docker rm <CONTAINER_NAME>
docker run -d --name <CONTAINER_NAME> \
  -p 5678:5678 \
  -v n8n_data:/home/node/.n8n \
  -e N8N_ENCRYPTION_KEY=<YOUR_ENCRYPTION_KEY> \
  n8nio/n8n:2.44.5

Reuse the exact same volume, port and environment options you started with. Removing the container is safe only because the data lives in the n8n_data volume.

npm

node --version          # n8n docs require Node.js 20.19 to 24.x
npm install -g n8n@2.44.5
n8n --version

The official docs use npm update -g n8n, which also moves you to the latest release. Installing an exact version makes the result predictable. Note the Node.js range: if you already moved this machine to Node 26 after reading our Node.js 26 LTS upgrade checklist, keep n8n on a Node 24 runtime or switch it to Docker.

If you trigger shell scripts from n8n, as in our guide to run Claude Code headless with n8n on macOS, re-check your NODES_EXCLUDE value after the upgrade so the Execute Command node is still available.

Verify the n8n upgrade

  1. Run n8n --version (or the docker exec form) and confirm 2.44.5 or your target.
  2. Open the editor, sign in and open one workflow with credentials.
  3. Run a test workflow manually and check one active webhook from outside.
  4. Check the execution list for new errors after the restart.

Workarounds if you cannot upgrade today

The advisories say these are short-term measures that do not fully remove the risk. Use them only until the upgrade window.

RiskTemporary workaroundFrom advisory
Untrusted usersLimit the instance to fully trusted usersAll
Read/Write Files DoSAdd n8n-nodes-base.readWriteFile to NODES_EXCLUDEGHSA-m7gv
History compaction DoSN8N_WORKFLOW_HISTORY_ENABLED=falseGHSA-fvv4
Slack token leak, SSRFSet a Slack signing secret, N8N_SSRF_PROTECTION_ENABLED=trueGHSA-3c3p
Webhook XSSRestrict /webhook/* to trusted sourcesGHSA-mp7q
Owner takeover via MCPEnable MFA for owners and admins, disable unused MCP serverGHSA-5jr4

In Docker Compose, the environment block looks like this:

    environment:
      - NODES_EXCLUDE=["n8n-nodes-base.readWriteFile"]
      - N8N_SSRF_PROTECTION_ENABLED=true
      - N8N_WORKFLOW_HISTORY_ENABLED=false

If NODES_EXCLUDE already lists other nodes, add the new one to the same JSON array instead of replacing it.

Clean up after the patch

The fixes stop new abuse, but they do not undo old abuse. The advisories suggest a few audits:

  • Look for a workflow stored with the ID __proto__ (GHSA-wvjj) and remove it.
  • Look for workflows whose connections use reserved names such as __proto__, constructor or prototype (GHSA-fvv4).
  • Rotate Slack OAuth tokens if a Slack Trigger ran without a signing secret.
  • Review who can view executions, since older error data may contain secrets.

For PostgreSQL, a quick check for the first item:

SELECT id, name FROM workflow_entity WHERE id = '__proto__';

The same pattern of "inventory, back up, patch, verify" works for other server software. Our PHP security release checklist follows it for PHP-FPM and Docker images.

Planning the bigger jump after these patches? The n8n Migration Report guide walks through the 7 steps to get workflows ready for n8n 3.0, and if you receive webhooks from Make, see how to verify signed Make event webhooks.

FAQ

Is n8n Cloud affected by the October 2026 advisories? The advisories cover the npm package n8n, which self-hosted installs use. n8n operates Cloud instances, so you do not upgrade those yourself. Check the n8n status page or support if you have doubts.

Do I need 2.44.5, or is 2.44.1 enough? 2.44.1 is the minimum on the 2.44 line for the October 14 fixes. 2.44.5 is the current stable release and includes them, so it is the simpler target.

I am the only user. Do I still need to update? Yes, but with less urgency. Most High issues need a logged-in user who can create workflows. The Slack Trigger issue needs no login, and future fixes are easier when you stay current. n8n recommends updating at least once a month.

Are there CVE numbers for these vulnerabilities? Not when checked on October 22, 2026. The advisories list "No known CVE" and use GHSA IDs instead. Track the GHSA IDs in your vulnerability tools.

Can I jump straight from 1.x to 2.44.5? That is a major-version upgrade with breaking changes, so test it on a copy first. If you need a quick security fix, move to 1.123.85 or later on the 1.x line, then plan the 2.x migration.

Summary

Check your n8n version, back up the data and encryption key, and upgrade to 2.44.5 (or at least 2.44.1, 2.43.5 or 1.123.85). If that has to wait, limit users, exclude the Read/Write Files node, enable SSRF protection and set Slack signing secrets. After patching, audit for __proto__ IDs and rotate any exposed tokens.

Written on October 22, 2026, eight days after the advisories were published. I did not test these exploits; all facts come from the official sources below. Check the n8n advisory list for new entries before your next upgrade.

References

  • n8n GitHub, Security advisories (list, Oct 14 and Sep 30, 2026) — github.com (checked Oct 22, 2026)
  • GHSA-mp7q-23hg-35cf, Webhook responses stored XSS — github.com (checked Oct 22, 2026)
  • GHSA-wvjj-qg37-pv73, Data Tables access across projects — github.com (checked Oct 22, 2026)
  • GHSA-m7gv-mpg5-7c9v, Read/Write Files glob DoS — github.com (checked Oct 22, 2026)
  • GHSA-fvv4-gmv9-xqf5, Workflow history prototype pollution — github.com (checked Oct 22, 2026)
  • GHSA-3c3p-5959-3ghr, Slack Trigger token exfiltration — github.com (checked Oct 22, 2026)
  • GHSA-5jr4-xmvf-frmj, MCP owner account takeover — github.com (checked Oct 22, 2026)
  • n8n Docs, Updating n8n — docs.n8n.io (checked Oct 22, 2026)
  • n8n Docs, Docker installation (updating section) — docs.n8n.io (checked Oct 22, 2026)
  • n8n Docs, npm installation — docs.n8n.io (checked Oct 22, 2026)
  • n8n GitHub, Releases (2.44.5 stable, Oct 21, 2026) — github.com (checked Oct 22, 2026)
  • npm registry, n8n dist-tags — npmjs.com (checked Oct 22, 2026)

4 thoughts on “n8n Security Update: Patch the 15 October 2026 Advisories”

Leave a Comment