Summary
CVE-2026-103257 is a path traversal vulnerability in the n8n node of the n8n workflow automation platform, caused by insufficient validation of resource identifiers. It allows an attacker with a valid API key to redirect API calls to unintended resources, gaining unauthorized access to workflows, executions, and credential secrets outside the key’s intended scope. The flaw is rated HIGH severity.
Technical details
- Root cause: The n8n node fails to properly validate resource identifiers supplied in API requests, permitting path traversal-style manipulation.
- Trigger conditions: An attacker crafts a malicious resource ID that is passed to the n8n node’s API-handling logic, causing it to resolve to a resource other than the one intended.
- Attack vector: Network-based; exploitation occurs over the API interface and does not require user interaction. Per CVSS v4.0, the attack requires some pre-existing condition to be present (AT:P) and no privileges beyond possessing an API key.
- Impact: Successful exploitation allows unauthorized access to workflows, workflow executions, and credential secrets within the scope reachable via the manipulated resource ID, resulting in high confidentiality and integrity impact and limited availability impact.
Affected software
- n8n (npm package
n8n) versions before 1.123.80 - n8n versions 2.0.0 through 2.39.5
- n8n version 2.40.0
Severity
- CVSS v4.0: 8.1 (HIGH) —
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:P - CVSS v3.1: 7.7 (HIGH) —
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Mitigation and recommended actions
- Immediate: Upgrade n8n to version 1.123.80, 2.39.6, or 2.40.1, depending on the deployed release line, all of which contain the fix.
- If no patch can be applied immediately: Restrict and rotate API keys, limit their scope to the minimum necessary, and restrict network access to the n8n API to trusted sources only until the upgrade can be completed.

