Skip to main content
VulnerabilityPublished

N8n: Duplicate Advisory: Google Service Account Private Key Exposed in JWT Header

Affects n8nSource GCVE Database

0

CVSS 5.1 Medium.

Data as of 23 Jul 2026, 00:10 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What to do

Affected software

ProductAffectedFixed in
npmn8nAffected–Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is applied, avoid using Google Service Account credentials with affected n8n versions or restrict access to JWT tokens to prevent key exposure. Monitor official n8n channels for updates and apply patches once available.

Description

n8n versions before 1.123.64, 2.29.8, and 2.30.1 have a vulnerability where the full Google Service Account private key is exposed in the JWT header's kid field. This exposure occurs because the private key was mistakenly placed in a Base64-encoded JWT header, which is not encrypted. An attacker with access to the JWT could recover the private key and impersonate the service account, potentially accessing or modifying authorized Google Cloud resources. Only instances configured with Google Service Account credentials are affected. This advisory is a duplicate and has been withdrawn in favor of GHSA-9r8p-h6cc-6qhm.

References

Community reviews

Loading reviews…