---
id: CVE-2026-103246
title: >-
  n8n versions before 2.39.6 and 2.40.0 before 2.40.1 fail to validate
  credential ownership during inline agent node-tool introspection
summary: >-
  n8n versions before 2.39.6 and 2.40.0 before 2.40.1 fail to validate
  credential ownership during inline agent node-tool introspection. Attackers
  can reference arbitrary credential IDs to decrypt and exfiltrate plaintext
  secrets to attack…
severity: high
cvss: 7.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'
cwe:
  - CWE-639
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:18.013'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103246'
references:
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-9rhv-fhr8-7q5r'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/n8n-before-2.39.6-and-2.40-x-before-2.40.1-credential-disclosure-via-node-tool-introspection
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-01T11:42:53.798Z'
---

## Overview

n8n versions before 2.39.6 and 2.40.0 before 2.40.1 fail to validate credential ownership during inline agent node-tool introspection. Attackers can reference arbitrary credential IDs to decrypt and exfiltrate plaintext secrets to attacker-controlled hosts without ownership verification.

## Remediation

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