All vulnerabilities

Servers and applications

GHSA-5pg9-2vqx-r6jm

Unescaped Parameter Interpolation into Third-Party Query Languages Enables Filter Bypass and Bulk Data Disclosure

Severity
Medium 6.9
Published
16 Sept 2026
Last changed
16 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.39.6, 2.40.1
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

The SendGrid, Freshservice, and ServiceNow nodes constructed third-party query or filter strings by directly interpolating bindable node parameters into DSL literals without neutralising the delimiter. When such a parameter is bound to untrusted external input an attacker can break out of the intended literal and widen a single-record lookup into a match-all or filter-bypass query against the upstream service. This can expose data beyond the intended record within the upstream tenant's scope, including contact lists, ticket and asset records, and directory entries.

Exploitation requires the workflow to be configured to bind the vulnerable node parameter to untrusted external input.

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 workflows that use the SendGrid, Freshservice, or ServiceNow nodes and ensure that filter or query parameters are not bound directly to untrusted external input such as webhook or HTTP request fields.
  • Deactivate webhook-triggered workflows that pass external input into the affected nodes until the instance is patched.
Workarounds as given by n8n-io/n8n's security advisory.

Affected software

SoftwareAffected versions
n8nServers and applications · github:n8n-io/n8n
  • 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