CVE-2026-103257
Deferred Deferred - Pending Action

Path Traversal in n8n Workflow Automation Platform

Vulnerability report for CVE-2026-103257, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-01

Last updated on: 2026-10-01

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-01
Last Modified
2026-10-01
Generated
2026-10-01
AI Q&A
2026-10-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
n8n n8n to 1.123.80 (exc)
n8n n8n From 2.0.0 (inc) to 2.39.6 (exc)
n8n n8n From 2.40.0 (inc) to 2.40.1 (exc)
n8n n8n 1.123.80
n8n n8n 2.39.6
n8n n8n 2.40.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-103257 is a path traversal vulnerability in n8n versions before 1.123.80, 2.39.6, and 2.40.1. It occurs because the n8n node constructs API request paths using user-supplied resource IDs without proper validation or encoding. Attackers can craft malicious IDs to redirect API calls to unintended resources, potentially accessing workflows, executions, or credentials within the API key's scope.

Detection Guidance

Check n8n version with 'n8n version' command. Inspect workflows for untrusted resource ID bindings. Monitor API logs for unusual resource access patterns or path traversal attempts in URLs.

Impact Analysis

This vulnerability allows unauthorized access to workflows, executions, and credential secrets within the API key's scope. Attackers could read, modify, or delete sensitive data. If a workflow uses untrusted input for resource IDs, an unauthenticated attacker might exploit this to access or manipulate data. The impact is limited to resources the API key can already access.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection principles and HIPAA's security requirements. Unauthorized access to personal or health data may result in compliance breaches, legal penalties, and reputational damage. Organizations must patch immediately to maintain compliance.

Mitigation Strategies

Upgrade n8n to versions 1.123.80, 2.39.6, or 2.40.1 or later. Restrict API access to trusted users only. Audit workflows for untrusted ID bindings. Disable public webhook endpoints if not needed. Rotate all exposed API credentials immediately.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-103257. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart