Description
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.
Published: 2026-07-22
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability enables custom HTTP header credentials to be written in clear text to LLM sub‑node execution logs. API keys and other secrets that should be masked are persisted in the database and can be exported by anyone who has permission to view workflow execution data, thereby compromising confidentiality and potentially allowing unauthorized access to third‑party services.

Affected Systems

All installations of n8n running a version older than 1.123.64 are affected. The issue is documented for the standard n8n distribution maintained by n8n‑io. Custom or proprietary builds are not explicitly listed in the advisory, so users should verify their build configurations but the vulnerability is most likely limited to the identified product and versions.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate risk, and the EPSS score of less than 1% suggests that active exploitation is unlikely at present. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires authenticated access to execution data, which typically limits the threat to insiders or compromised accounts rather than external attackers. Once exploited, an attacker can read and export the exposed credentials, potentially gaining unauthorized access to external services.

Generated by OpenCVE AI on August 4, 2026 at 00:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the n8n installation to version 1.123.64 or newer, which masks header credentials in execution logs.
  • Restrict the “view execution data” permission so that only trusted administrators can access workflow logs that may contain sensitive credentials.
  • Purge existing execution logs that contain unmasked credentials and disable logging for LLM sub‑nodes until the patch is applied, if a temporary workaround is required.

Generated by OpenCVE AI on August 4, 2026 at 00:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-89gh-3pgc-v5h2 n8n: Custom Header Credential Values Leaked in Plaintext into LLM Node Execution Data
History

Thu, 23 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 22 Jul 2026 11:45:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n before 1.123.64 Credential Exposure via LLM Node Execution Data
First Time appeared N8n
N8n n8n
Weaknesses CWE-532
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 5.1, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-23T13:53:56.061Z

Reserved: 2026-07-22T10:45:44.832Z

Link: CVE-2026-65589

cve-icon Vulnrichment

Updated: 2026-07-23T13:52:04.040Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-22T12:18:18.857

Modified: 2026-07-27T19:09:14.453

Link: CVE-2026-65589

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:15:04Z

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File