---
id: CVE-2026-103257
title: >-
  n8n versions before 1.123.80, from 2.0.0 before 2.39.6, and from 2.40.0 before
  2.40.1 contain a path traversal vulnerability in the n8n node that fails to
  validate resource identifiers
summary: >-
  n8n versions before 1.123.80, from 2.0.0 before 2.39.6, and from 2.40.0 before
  2.40.1 contain a path traversal vulnerability in the n8n node that fails to
  validate resource identifiers. Attackers can craft malicious resource IDs to
  redir…
severity: high
cvss: 7.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L'
cwe:
  - CWE-22
vendor: n8n-io
product: n8n
affected:
  - n8n < 1.123.80
  - n8n >= 2.0.0 < 2.39.6
  - n8n >= 2.40.0 < 2.40.1
published: '2026-10-01'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T11:17:20.240'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103257'
references:
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-89p4-6h98-c7xm'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/n8n-before-1.123.80-2.39.6-and-2.40.1-path-traversal-via-n8n-node
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-01T11:42:53.802Z'
---

## Overview

n8n versions before 1.123.80, from 2.0.0 before 2.39.6, and from 2.40.0 before 2.40.1 contain a path traversal vulnerability in the n8n node that fails to validate resource identifiers. Attackers can craft malicious resource IDs to redirect API calls to unintended resources, allowing unauthorized access to workflows, executions, and credential secrets within the API key's scope.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
