n8n Git node can freeze the instance with a crafted path

HighSE Fix-First Score 43/100CVE-2026-86081SE-AIV-01790Denial of service and resource exhaustionAI softwareMade public 10 Sep 2026

Download as PDF

What this means

An authenticated user can make n8n stop responding to all requests by running a workflow with a specially crafted file path. The entire instance freezes until the operation times out or is killed, affecting all users and stopping all automations. No data is lost, but the downtime can halt business processes that depend on n8n.

SecurityElites Manager Brief: the decision in one minute

A user with login access can crash your whole n8n instance by running one workflow. Everyone loses access until you restart it. Upgrade to version 1.123.76, 2.37.7, 2.38.2, or later immediately, or disable the Git node as a temporary fix.

SecurityElites Fix-First Score43 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixPlatform or DevOps team that runs n8n.
Likely effortAbout 30 minutes to an hour per n8n instance: a version bump and a restart. It may take longer if you have custom nodes or if you need to test the upgrade in a staging environment first.

Questions to ask your team or supplier

  • Which users or teams have permission to create or edit workflows in our n8n instance, and how much do we trust them?
  • Do we have a maintenance window planned where we can safely restart n8n, or do we need to apply a temporary workaround first?
  • Are there any custom or critical workflows that would cause significant business impact if n8n were unavailable for 30 minutes?

Message you can forward to the owning team

Security notice: n8n Git node can freeze the instance with a crafted path (CVE-2026-86081)

Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to n8n 2.38.2 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-86081-n8n-git-node-can-freeze-the-instance-with-a/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01790

What is at stake in your AI setup

  • Workflows and automations: an attacker can halt all running automations and block legitimate workflow execution.
  • Connected external systems and API keys: while the instance is frozen, integrations with external services may be disrupted or leave incomplete state.

Map where your company uses AI

Who is exposed

  • n8n instances where any authenticated user can create or edit workflows (all users on a shared instance).
  • n8n instances in multi-tenant setups where users could affect other tenants.
  • Teams running n8n 1.x below 1.123.76, 2.37.x below 2.37.7, or 2.38.0 to 2.38.1.

Upgrades you need

SoftwareAffected versionsMove to
n8n
npm
Every version before 1.123.76; 2.38.0 up to, but not including, 2.38.2; 2.0.0 up to, but not including, 2.37.72.38.2 or later

Each maintained branch has its own fixed version. Stay on your branch if you cannot jump to the newest: n8n 1.123.76, 2.37.7, 2.38.2.

Am I affected?

Enter the version you run. Nothing you type is stored.

SecurityElites Developer Brief: the technical picture

Is it being attackedNo known attacks and no public attack code when CISA last reviewed it
Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededAn ordinary user account
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doEasy. It works reliably once the attacker can reach it
Risk of: data being readNone
Risk of: data or settings being changedNone
Risk of: the service being taken downHigh
Can attackers automate it at scaleYes, according to CISA
How much control an attacker gainsPartial control, according to CISA

Read from the official severity rating: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Kind of coding mistake

  • CWE-1333: a slow pattern match can freeze the service

Where it sits in the standards

OWASP Top 10 for LLM Applications 2025: LLM10 Unbounded Consumption

If you cannot upgrade today

  • Restrict n8n login to users you fully trust and who will not use Git nodes recklessly.
  • Disable the Git node by setting the environment variable `NODES_EXCLUDE=n8n-nodes-base.git` and restarting n8n.
  • Replace the vulnerable file pattern by setting `N8N_BLOCK_FILE_PATTERNS` to a linear-safe regex pattern and restarting. Ask your n8n provider or community for a safe pattern.

Signs it may already have been used against you

  • Logs showing the n8n process becoming unresponsive (high CPU, no output) during workflow execution.
  • Multiple execution records for Git node workflows that fail with timeout errors or are marked as not started.
  • Users reporting that n8n stops responding when they run or edit workflows with Git nodes, then recovers after a restart.

SecurityElites Fix Guide: step by step

  1. Find your n8n versionLog in to n8n. Go to Settings or About. Note the version number. Check if it is 1.123.76 or later, 2.37.7 or later, or 2.38.2 or later.
  2. Back up your n8n dataExport your workflows, credentials, and any custom settings. This protects you if the upgrade encounters problems.
  3. Review who can access n8n todayList all users who can log in and create workflows. If this includes people you do not fully trust, the risk is higher.
  4. Decide on a temporary workaround if neededIf you cannot upgrade immediately, choose one or more workarounds: restrict login to trusted users only, disable the Git node, or replace the file pattern. Each option reduces but does not remove the risk.
  5. Upgrade n8n to the fixed versionUpdate to version 1.123.76, 2.37.7, 2.38.2, or any later version. Follow your deployment method (npm, Docker, managed service, etc.). If you use a managed service, check whether the update is already applied or contact the provider.
  6. Restart n8nStop the n8n service and start it again. Wait for it to be ready to accept requests.
  7. Verify the fix is in placeLog in to n8n and check that the version displayed is 1.123.76, 2.37.7, 2.38.2, or later. This confirms the vulnerable code has been replaced.
  8. Check for signs of past exploitationReview your workflow execution logs for any runs created by users with Git nodes and unusual or repeated failed executions between your current date and three months ago. If you find any, investigate whether they were intentional.

How to confirm it is fixed: Log in to n8n and confirm that the version displayed in settings is 1.123.76, 2.37.7, 2.38.2, or later.

SecurityElites Quick Fixes: copy and paste

Upgrade n8n with npmupgrade

npm install n8n@2.38.2
npm ls n8n

Check n8n version via API (Linux/macOS/Windows with curl)for this issue

curl -s http://localhost:5678/api/v1/health | grep -o '"version":"[^"]*"'

Rate and size limits with nginxgeneral hardening

limit_req_zone $binary_remote_addr zone=api:10m rate=10r/s;

server {
    location /api/ {
        limit_req zone=api burst=20 nodelay;
        client_max_body_size 2m;
    }
}

Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.

Let your AI coding assistant do the upgrade

Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.

Instruction for your coding assistant

You are helping me fix a security vulnerability (CVE-2026-86081) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n   - n8n (npm): must be 2.38.2 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.

SecurityElites Incident Drill: could your team handle this?

Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.

What would happen if an authenticated user ran a workflow with a Git node that uses a crafted file path on an unpatched n8n instance?A good answer: The n8n process would freeze and stop responding to all requests, making n8n unavailable to all users until it is restarted.
Which versions of n8n are vulnerable to this issue?A good answer: Versions 1.x before 1.123.76, 2.37.x before 2.37.7, and 2.38.0 to 2.38.1 are vulnerable.
What is the quickest temporary fix if we cannot upgrade right away?A good answer: Disable the Git node by adding `n8n-nodes-base.git` to the `NODES_EXCLUDE` environment variable and restart n8n.
How can we confirm that our n8n instance is no longer vulnerable after the upgrade?A good answer: Check that the version displayed in n8n settings or via the health API is 1.123.76, 2.37.7, 2.38.2, or later.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## n8n Git node can freeze the instance with a crafted path (CVE-2026-86081)

**Severity:** High  |  **SE Fix-First Score:** 43/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01790 https://securityelites.com/ai-vulnerabilities/cve-2026-86081-n8n-git-node-can-freeze-the-instance-with-a/

### Why this matters
An authenticated user can make n8n stop responding to all requests by running a workflow with a specially crafted file path. The entire instance freezes until the operation times out or is killed, affecting all users and stopping all automations. No data is lost, but the downtime can halt business processes that depend on n8n.

### What to do
1. Find your n8n version
2. Back up your n8n data
3. Review who can access n8n today
4. Decide on a temporary workaround if needed
5. Upgrade n8n to the fixed version
6. Restart n8n
7. Verify the fix is in place
8. Check for signs of past exploitation

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-86081-n8n-git-node-can-freeze-the-instance-with-a/

### Done when
- [ ] n8n is at 2.38.2 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Log in to n8n and confirm that the version displayed in settings is 1.123.76, 2.37.7, 2.38.2, or later.
- [ ] Logs were checked for signs of earlier use

SecurityElites Fix Tracker

Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.

Sign in to track this fix

Change history

  • 10 Sep 2026: Made public
  • 2 Dec 2026: Published

Official record

## ImpactThe Git node's clone operation matched the destination path against the default `N8N_BLOCK_FILE_PATTERNS` expression, which was written so that a crafted path caused catastrophic backtracking. Evaluation runs synchronously in the main n8n process, so an authenticated user could freeze the instance for everyone with a single workflow execution and no unusual configuration. The patch rewrites the pattern so that matching is linear in the length of the path.## PatchesThe issue has been fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2. Users should upgrade to one of these versions or later to remediate the vulnerability.## WorkaroundsIf upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Restrict n8n instance access to fully trusted users only. - Disable the Git node by adding `n8n-nodes-base.git` to the `NODES_EXCLUDE` environment variable. - Set `N8N_BLOCK_FILE_PATTERNS` to a backtracking-safe equivalent pattern to replace the vulnerable default.These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Weakness type: CWE-1333

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-86081

For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker

The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.