Skip to main content

n8n CVE-2026-65589

| EUVDEUVD-2026-47633 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to n8n with low-privilege account
  2. Delivery
    Navigate to execution history of LLM-enabled workflow
  3. Exploit
    Read plaintext API key from execution record
  4. Execution
    Extract credential from HTTP header field
  5. Persist
    Authenticate directly to downstream API with stolen key
  6. Impact
    Access or exfiltrate data from the third-party service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
Exploitation Conditions

Exploitation requires: (1) an authenticated n8n session with at least read access to workflow execution data; (2) the target n8n instance must be running a version prior to 1.123.64; (3) one or more workflows must use LLM sub-nodes configured with credentials passed as custom HTTP headers - this is a non-default, user-configured condition, reflected by CVSS 4.0 AT:P. Exploitation is limited by the requirement for authenticated access (PR:L); unauthenticated external attackers cannot directly exploit this. The confidentiality impact is bounded by which credentials happen to be stored in custom headers within accessible workflows - environments using only n8n-managed credential stores (not custom headers) are not affected by this specific vector.

Impact

The provided CVSS 4.0 score of 5.1 with AT:P appropriately reflects that specific deployment conditions must be met. The VC:L (low confidentiality on the vulnerable system) understates the overall severity because the SC:H (high subsequent-system confidentiality) captures the real risk: exposed credentials grant access to downstream services - AI providers, internal APIs - which may have far broader blast radius than the n8n instance itself. EPSS data is not provided in the source intelligence; without it, exploitation probability cannot be quantified numerically. KEV status is absent, indicating no confirmed active exploitation at time of analysis, but this class of credential leakage (CWE-532) is historically well-exploited in multi-tenant or shared-access deployments where users have divergent trust levels. The PR:L vector means any authenticated user, not just admins, can exploit this by navigating to execution records - making insider threat and compromised low-privilege accounts realistic attack paths. This is a genuine priority for teams running n8n with LLM nodes that call third-party services, despite the moderate composite score.

Exploit ScenarioDerived

An attacker with a low-privilege n8n account - for example, a shared team member or a compromised service account - navigates to the execution history of a workflow that uses an LLM sub-node configured with a third-party API key in a custom Authorization or X-API-Key header. The execution records display the header value in plaintext, allowing the attacker to copy the API key and use it to authenticate directly against the upstream service, bypassing n8n entirely. No exploit code is required; the exposure is accessible through the standard n8n UI.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Credential exposure in n8n's LLM sub-node allows authenticated users to read plaintext API keys and secrets persisted in workflow execution records. Versions before 1.123.64 fail to mask custom HTTP header values - such as Authorization or X-API-Key headers - when those headers are used in LLM node configurations, causing secrets to be written in cleartext to execution data stored in the database. While exploitation requires a low-privilege authenticated session, the downstream impact is high because recovered credentials can be used to access external APIs and services configured in those workflows. No public exploit code or KEV listing has been identified at time of analysis.

RemediationAI

Upgrade to n8n version 1.123.64 or later, which introduces proper masking of custom HTTP header values in LLM node execution data. The vendor-released patch is documented in the GitHub security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-89gh-3pgc-v5h2. As a compensating control prior to patching, restrict access to execution data to only the minimum set of users who require it - n8n's role-based access controls should be audited to ensure low-trust users cannot read execution records from workflows containing LLM nodes. Additionally, rotate any API keys or secrets that may have been passed as custom HTTP headers in LLM nodes on affected versions, as those values should be considered compromised if any other authenticated user had access to execution history. Avoid storing long-lived credentials in header configurations; prefer short-lived tokens or API keys scoped to minimum permissions.

Affected VersionsENISA

n8n 0 <2.30.1
n8n 0 <1.123.64
n8n 0 <2.29.8

Affected Packages

npm n8n fix: 1.123.64, 2.29.8, 2.30.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is an open-source, self-hostable workflow automation platform (cpe:2.3:a:n8n-io:n8n). It supports LLM sub-nodes that interact with AI APIs by constructing HTTP requests, including custom header configurations for authentication. The root cause is CWE-532 (Insertion of Sensitive Information into Log File / Execution Data), where the platform's credential masking logic fails to sanitize header values before persisting execution records. Unlike credential fields that n8n explicitly marks as sensitive and masks in the UI, custom HTTP headers in LLM node configurations are treated as generic parameters, so their values flow unredacted into execution records that are stored in the backend database and potentially exportable. The CVSS 4.0 AT:P (Attack Requirements: Present) reflects that exploitation depends on workflows being configured with LLM nodes using custom HTTP headers containing secrets - a common pattern when integrating third-party AI APIs requiring bearer tokens or API keys.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:N
vuln.today AI 7.7 HIGH

PR:L because authenticated access is required; S:C and C:H reflect high-impact credential theft enabling access to downstream systems.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 22, 2026 - 13:02 EUVD

DescriptionCVE.org

n8n versions before 1.123.64 fail to properly mask custom HTTP header credentials in LLM sub-node execution data, writing plaintext API keys and secrets to workflow execution records. Authenticated users with access to execution data can read exposed header values and credentials that persist in the database and can be exported.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Medium
popular open-source automation platform, growing self-hosted enterprise adoption
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy