Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n with low-privilege account
-
DeliveryNavigate to execution history of LLM-enabled workflow
-
ExploitRead plaintext API key from execution record
-
ExecutionExtract credential from HTTP header field
-
PersistAuthenticate directly to downstream API with stolen key
-
ImpactAccess 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
PR:L because authenticated access is required; S:C and C:H reflect high-impact credential theft enabling access to downstream systems.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
EUVD-2026-47633
GHSA-fmvg-vhqq-r2mj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB