---
id: CVE-2026-103258
title: >-
  n8n versions before 2.39.6 and 2.40.0 before 2.40.1 contain an unescaped
  parameter interpolation vulnerability in SendGrid, Freshservice, and
  ServiceNow nodes that allows attackers to bypass filters by breaking out of
  query literals
summary: >-
  n8n versions before 2.39.6 and 2.40.0 before 2.40.1 contain an unescaped
  parameter interpolation vulnerability in SendGrid, Freshservice, and
  ServiceNow nodes that allows attackers to bypass filters by breaking out of
  query literals. Att…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N'
cwe:
  - CWE-943
vendor: n8n-io
product: n8n
affected:
  - n8n < 2.39.6
  - n8n >= 2.40.0 < 2.40.1
published: '2026-10-01'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T11:17:20.420'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103258'
references:
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-5pg9-2vqx-r6jm'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/n8n-before-2.39.6-and-2.40-x-before-2.40.1-filter-bypass-via-parameter-interpolation
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-01T11:42:53.803Z'
---

## Overview

n8n versions before 2.39.6 and 2.40.0 before 2.40.1 contain an unescaped parameter interpolation vulnerability in SendGrid, Freshservice, and ServiceNow nodes that allows attackers to bypass filters by breaking out of query literals. Attackers can exploit this by binding vulnerable node parameters to untrusted external input to widen single-record lookups into match-all queries, exposing bulk data including contact lists, tickets, and directory entries.

## Remediation

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