{"cve":"CVE-2026-65599","nvd":{"published":"2026-07-22T12:18:20.167","modified":"2026-10-24T17:10:00.220","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":5.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-312"],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-9r8p-h6cc-6qhm","https://www.vulncheck.com/advisories/n8n-before-credential-exposure-via-jwt-header"],"products":["n8n:n8n"],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-65599","score":0.00249,"percentile":0.1611,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-9r8p-h6cc-6qhm","url":"https://osv.dev/vulnerability/GHSA-9r8p-h6cc-6qhm","summary":"n8n: Google Service Account Private Key Exposed in JWT Header","modified":"2026-07-22T19:03:13.735574Z","packages":[{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":["<1.123.64"],"fixed":["1.123.64"]},{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":[">=2.30.0 <2.30.1"],"fixed":["2.30.1"]},{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":[">=2.0.0-rc.0 <2.29.8"],"fixed":["2.29.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}