# CVE-2026-65599: n8n before 1.123.64, 2.29.8, and 2.30.1 Credential Exposure via JWT Header

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-07-22T11:21:46.100Z
- Modified: 2026-10-29T21:16:28.053Z
- Also known as: GHSA-9r8p-h6cc-6qhm
- Weaknesses: CWE-312
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- n8n-io n8n: before 1.123.64; from 2.30.0 before 2.30.1; from 2.0.0-rc.0 before 2.29.8 (not affected: 1.123.64; 2.30.1; 2.29.8)
- n8n (npm): before 1.123.64; from 2.30.0 before 2.30.1; from 2.0.0-rc.0 before 2.29.8
- n8n n8n: before 1.123.64; from 2.0.0 before 2.29.8; 2.30.0

## Every score

- VulnCheck: CVSS:4.0 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`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-9r8p-h6cc-6qhm> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/n8n-before-credential-exposure-via-jwt-header> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-65599> (advisory)
- <https://github.com/n8n-io/n8n> (package)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.64> (web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@2.29.8> (web)
- <https://github.com/n8n-io/n8n/releases/tag/n8n@2.30.1> (web)

## Sources

- CVE List: [CVE-2026-65599](https://www.cve.org/CVERecord?id=CVE-2026-65599), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-9r8p-h6cc-6qhm](https://github.com/advisories/GHSA-9r8p-h6cc-6qhm), CC-BY-4.0, modified 2026-07-22
- NVD: [CVE-2026-65599](https://nvd.nist.gov/vuln/detail/CVE-2026-65599), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-65599 · Whole record: https://cve.day/CVE-2026-65599.json · Rebuilt by cve.day 2026-11-25T22:59:29.811Z
