CVE-2026-103246

n8n before 2.39.6 and 2.40.x before 2.40.1 Credential Disclosure via Node-Tool Introspection

Published Oct 1, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 6, 2026, 12:05 AM
Reserved
Sep 30, 2026, 10:52 AM
Status
Deferred
Published
Oct 1, 2026, 11:17 AM
Modified
Oct 6, 2026, 1:16 AM