All vulnerabilities

Servers and applications

GHSA-89p4-6h98-c7xm

Path Traversal in the n8n Node Redirects Public API Calls to Unintended Resources

Severity
High 8.1
Published
16 Sept 2026
Last changed
16 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.123.80, 2.39.6, 2.40.1
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data · Slow it down
CVSS vector
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
Sources
Project advisories (GitHub)

Description

The built-in n8n node built its Public API request paths from a caller-supplied resource id without encoding or validating it, so a crafted id could redirect the call to a different resource while still using the stored API key. Where a workflow binds that id to untrusted input, an unauthenticated caller could read, modify or delete workflows and executions outside the intended scope, and reach a credential's secret by repointing a live workflow. Impact stays within the resource types the key already has scope for.

From n8n-io/n8n's security advisory.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Audit all workflows that use the n8n node and ensure that ID fields are not bound to expressions sourced from untrusted or externally supplied input.
  • Restrict or disable public webhook endpoints that feed into workflows using the n8n node until the instance is patched.
  • Review and rotate any API credentials that may have been exposed via workflows using the n8n node with expression-bound ID fields.
Workarounds as given by n8n-io/n8n's security advisory.

Affected software

SoftwareAffected versions
n8nServers and applications · github:n8n-io/n8n
  • Every version before 1.123.80
  • Every version before 2.40.1
  • Every version before 2.39.6

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
103,525npm, 15 Nov 2026
Docker Hub pulls
286,090,810Docker Hub, 15 Nov 2026
GitHub stars
210,541GitHub, 15 Nov 2026
Forks
61,525GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References