Skip to content
Blog

n8n Custom Header Credential Leak Vulnerability (CVE-2026-65589) — Medium Severity

N8N-Banner-ucartz
In this article
  1. Overview
  2. CVE Details
  3. Affected Products
  4. Current Status
  5. Severity Level
  6. Possible Solutions
  7. References

Overview

A security flaw has been found in n8n, a popular workflow automation tool. This vulnerability could expose sensitive information, such as API keys and other secrets, when using certain Large Language Model (LLM) nodes with custom HTTP headers. While these credentials appear masked in the n8n user interface, they are unfortunately written in plain, unencrypted text into the workflow execution records. This means that anyone with authorized access to these execution records could potentially read your sensitive information, and this data might even remain accessible in the database or when exported.

This issue specifically impacts n8n instances where workflows are designed to use LLM sub-nodes (like those for OpenAI, Anthropic, or Lemonade) and have custom headers defined within their credentials.

CVE Details

Product Name: n8n

CVE ID: CVE-2026-65589

Published Date: July 22, 2026

Severity: Medium (CVSS Score: 6.5)

Status: Analyzed

Affected Products

The following n8n versions are known to be affected by this vulnerability:

  • All n8n community editions before version 1.123.64
  • All n8n enterprise editions before version 1.123.64
  • All n8n community editions before version 2.29.8
  • All n8n enterprise editions before version 2.29.8
  • All n8n community editions before version 2.30.1
  • All n8n enterprise editions before version 2.30.1
  • Specifically, n8n community and enterprise versions 2.30.0 are also vulnerable.

Current Status

This vulnerability has been officially analyzed. Patches are available to address the issue, and users are strongly encouraged to upgrade their n8n installations to a fixed version as soon as possible.

Severity Level

The vulnerability is rated as Medium severity, with a CVSS score of 6.5. This classification indicates that while exploitation requires an authenticated user with access to execution data, the potential impact could be significant due to the exposure of sensitive credentials such as API keys and secrets. If compromised, these credentials could lead to unauthorized access to external services integrated with n8n.

Possible Solutions

To mitigate the risk of this vulnerability, it is crucial to update your n8n installation. The issue has been fixed in the following versions:

  • n8n versions 1.123.64 and later
  • n8n versions 2.29.8 and later
  • n8n versions 2.30.1 and later

If an immediate upgrade is not feasible, consider these temporary workarounds:

  • Restrict access: Limit access to workflow execution data to only fully trusted personnel.
  • Avoid custom headers: Where possible, do not configure custom headers in LLM node credentials. Explore alternative, more secure authentication methods.
  • Rotate secrets: Immediately rotate any API keys or secrets that might have been previously stored as custom header values in affected workflow credentials.

Remember, these workarounds are temporary and do not fully eliminate the risk. An upgrade to a patched version is the most effective solution.

References

https://github.com/n8n-io/n8n/security/advisories/GHSA-89gh-3pgc-v5h2
https://www.vulncheck.com/advisories/n8n-before-credential-exposure-via-llm-node-execution-data

Share
Alex Joseph

Alex Joseph

Alex Joseph is a Senior Support Staff professional with deep experience in server management, web hosting technologies, and cybersecurity operations. He works daily with Linux servers, cloud platforms, performance tuning, and security hardening, giving him strong real-world technical knowledge. Along with his support role, he write about security best practices, hosting infrastructure, and software management.

Related updates

Start Building Today

Ready to Get Started?

VPS, dedicated servers, streaming and managed hosting with 24/7 support from the Ucartz team.