Description
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.
Published: 2026-10-01
Score: 8.3 High
EPSS: n/a
KEV: No
Impact: Credential Disclosure
Action: Apply Update
AI Analysis

Impact

n8n versions before 2.39.6 and 2.40.0 before 2.40.1 contain a flaw that bypasses credential ownership validation during inline agent node‑tool introspection. This allows an attacker to reference arbitrary credential IDs, decrypt the secrets, and exfiltrate plaintext values without having ownership or proper authorization to those credentials. The weakness is classified as CWE‑639, representing a missing authorization check that enables unauthorized credential disclosure.

Affected Systems

The affected product is n8n Data‑Integration Platform from n8n‑io, specifically all releases prior to 2.39.6 and before 2.40.1. No specific sub‑version ranges are provided beyond these release markers, so any installation running a v2.39.x series earlier than 2.39.6 or a v2.40.x series earlier than 2.40.1 is considered vulnerable.

Risk and Exploitability

The CVSS score of 8.3 indicates high severity, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is not available, but the exposure of plaintext credentials is a significant operational risk. Attackers likely need authenticated access that permits node execution or introspection; they may trigger the bug through the UI, API, or automation scripts. Once the flaw is exercised, the attacker can decrypt secrets and send them to any attacker‑controlled endpoint, compromising confidentiality of all stored credentials.

Generated by OpenCVE AI on October 1, 2026 at 14:12 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade n8n to at least v2.39.6 or v2.40.1, which resolves the missing ownership verification for credential introspection.
  • Restrict or harden permissions for the node‑tool introspection functionality so that only trusted users can trigger it, preventing unauthorized credential references.
  • Enable logging and monitoring of credential access attempts and review for unusual patterns such as repeated or unauthorized credential ID lookups.

Generated by OpenCVE AI on October 1, 2026 at 14:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 01 Oct 2026 11:00:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n before 2.39.6 and 2.40.x before 2.40.1 Credential Disclosure via Node-Tool Introspection
First Time appeared N8n
N8n n8n
Weaknesses CWE-639
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-01T10:41:53.491Z

Reserved: 2026-09-30T10:52:32.248Z

Link: CVE-2026-103246

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-01T11:17:17.887

Modified: 2026-10-01T11:17:18.013

Link: CVE-2026-103246

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T14:15:09Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key