Skip to main content

n8n EUVDEUVD-2026-47643

| CVE-2026-65599 MEDIUM
Cleartext Storage of Sensitive Information (CWE-312)
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Access log aggregation system or network traffic
  2. Delivery
    Capture JWT emitted by n8n toward Google APIs
  3. Exploit
    Base64url-decode JWT header
  4. Execution
    Extract full PEM private key from kid field
  5. Persist
    Authenticate to Google Cloud as service account
  6. Impact
    Access or modify authorized GCP resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V14 - Data Protection Encrypted storage of sensitive data
Exploitation Conditions

Two specific prerequisites must both be met. First, at least one Google Service Account credential (a Google Service Account JSON key file) must have been configured and actively used within the n8n instance - deployments using only other credential types are not affected. Second, the attacker must have access to a channel where JWTs are observable: application log files, a log aggregation or SIEM platform ingesting n8n logs, HTTP proxy or network capture of traffic between n8n and Google APIs, or any monitoring tool recording outbound Authorization headers. Unauthenticated remote exploitation against n8n's network interface is not possible without also having one of these log or traffic access positions. Limiting factors include: the attacker must already hold elevated access within the environment (to logs or network monitoring), and scope of downstream damage is bounded by the IAM permissions granted to the specific service account in use.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:L) reflects two competing forces. PR:H acknowledges that an attacker must occupy a privileged position - log access, a network tap, or access to a monitoring/SIEM system - to intercept the JWT. AT:P captures the specific configuration prerequisite: Google Service Account credentials must be in use. Together these limit the exposure significantly from a remote-unauthenticated-exploitation standpoint. However, the SC:H subsequent-system impact correctly flags that once the private key is in hand, the blast radius is determined entirely by the permissions granted to the service account in Google Cloud IAM, which can be substantial. The nominal base score of 5.1 therefore understates real-world risk in environments where the service account holds broad GCP permissions. EPSS data was not supplied in the input. KEV status is negative, indicating no confirmed mass exploitation. The practical threat model is an insider, a compromised log aggregation pipeline, or an attacker who has already achieved partial access to the environment and is seeking lateral movement to Google Cloud.

Exploit ScenarioDerived

An attacker with read access to a centralized log aggregation system (e.g., Splunk, ELK, or CloudWatch Logs) that ingests n8n application logs captures a JWT emitted during a Google API call. The attacker Base64url-decodes the JWT header using any standard tool or online decoder, reads the full PEM private key from the kid field, then uses the key with the Google Cloud SDK or API client libraries to authenticate as the service account and enumerate or exfiltrate data from authorized GCP resources such as Cloud Storage buckets, BigQuery datasets, or Secret Manager entries. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% 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 workflow automation platform leaks full Google Service Account PEM private keys into the JWT header's kid field, where they are trivially recoverable via Base64 decoding. Affected versions span both the 1.x line (before 1.123.64) and the 2.x line (before 2.29.8 and 2.30.1), but only deployments configured with Google Service Account credentials are at risk. An attacker who captures these JWTs from logs, network traffic, or monitoring systems can extract the raw private key and fully impersonate the service account against any Google Cloud resource it is authorized to access. No public exploit code has been identified at time of analysis, and no confirmed active exploitation is recorded in CISA KEV.

RemediationAI

Upgrade n8n to version 1.123.64 or later for 1.x deployments, or to 2.29.8 or 2.30.1 or later for 2.x deployments; these versions are confirmed as patched releases per the vendor security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-9r8p-h6cc-6qhm. After upgrading, treat all Google Service Account keys that were in use during the affected period as compromised: immediately rotate the key in Google Cloud IAM Console, audit Google Cloud Audit Logs for any API calls made under the service account during the exposure window, and revoke the old key. As a compensating control before patching, restrict filesystem and platform access to n8n application logs, configure log aggregation systems (Splunk, ELK, Datadog) to redact JWT Authorization headers, and limit network visibility of traffic between n8n and Google APIs - note that these controls reduce exposure but do not eliminate the key from existing stored logs and do not fix the underlying bug.

Affected VersionsENISA

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

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: cpe:2.3:a:n8n-io:n8n) that supports Google Cloud integrations via Service Account credentials. Google Service Accounts authenticate using RSA private keys in PEM format. The vulnerable code path incorrectly populated the JWT kid (Key ID) header parameter with the full PEM private key material rather than an opaque key identifier string as specified by RFC 7515. Because JWT headers are only Base64url-encoded - not encrypted or integrity-protected against observers - any system that logs or inspects the JWT header can trivially recover the raw private key by decoding the kid field. CWE-312 (Cleartext Storage of Sensitive Information) directly describes this root cause: sensitive key material was placed in a transmission field that provides no confidentiality guarantees. The bug likely arose from passing the key object itself to a field that expected a key reference string, a common developer error at the boundary between cryptographic key management and JWT construction libraries.

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:H/UI:N/VC:L/VI:N/VA:N/SC:H/SI:L/SA:L
vuln.today AI 7.6 HIGH

PR:H because log or traffic access is required; S:C and C:H reflect full private key disclosure enabling GCP service account impersonation; I:L for indirect modification potential via impersonation.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
High
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
Low

Lifecycle Timeline

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

DescriptionCVE.org

n8n versions before 1.123.64, 2.29.8, and 2.30.1 contain a credential exposure vulnerability: when configured with a Google Service Account key, the full PEM private key was mistakenly placed in the JWT header's kid field (intended only for a key identifier). Because JWT headers are Base64-encoded rather than encrypted, the private key could be recovered by anything that logged or inspected the JWT. An attacker who obtained the key could impersonate the service account and access or modify any Google Cloud resource it was authorized to use. Only instances using Google Service Account credentials are affected.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
popular self-hosted and cloud workflow automation tool, growing enterprise adoption
Threat Intel
1
1 sources
Data Quality
6 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.3%
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-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

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

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