{"data":{"id":"6c0500f0-7992-4ef6-8970-5413f2eb3bbd","title":"GHSA-8342-988q-86cr: n8n: Account Takeover via Unverified Email Claim in Token Exchange Embed Login","summary":"n8n's embed login feature, when a validly signed token's email claim matched a local account, did not check the trusted key's allowed role ceiling or whether the email claim was verified. Anyone able to obtain a token from a configured trusted key, such as an issuer that emits unverified emails, could log in as any existing user and gain full account control. The issue affects only instances with embed login enabled and at least one trusted key source configured.","solution":"Fixed in n8n version 2.32.1; upgrade to this version or later. If upgrading is not immediately possible, the source suggests temporary workarounds: set N8N_TOKEN_EXCHANGE_ENABLED=false to disable embed login, or if that is not possible, restrict network access to fully trusted parties and audit trusted keys and their allowedRoles assignments. Review auth_identity records for unexpected token-exchange entries linked to high-privilege accounts. The source states these workarounds do not fully remediate the risk and are short-term measures only.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-8342-988q-86cr","publishedAt":"2026-07-22T22:04:54.000Z","cveId":null,"cweIds":["CWE-345","CWE-863"],"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":[],"issueType":"vulnerability","affectedPackages":["n8n@>= 2.32.0, < 2.32.1 (fixed: 2.32.1)","n8n@< 2.31.5 (fixed: 2.31.5)"],"affectedPackageNames":["n8n"],"affectedPackageRefs":["npm:n8n"],"affectedVendors":[],"affectedVendorsRaw":["n8n"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssPercentile":null,"epssCheckedAt":null,"epssHistory":null,"epss30dChange":null,"exploitUrls":null,"patchCommitUrls":["https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f"],"ssvcExploitation":null,"nvdStatus":null,"referencesCheckedAt":"2026-12-03T19:25:51.205Z","kevDateAdded":null,"advisoryAliases":["GHSA-8342-988q-86cr"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-07-22T22:04:54.000Z","fixReleasedAt":"2026-07-22T10:18:23.590Z","daysToFix":0,"fixCheckedAt":"2026-12-03T18:30:45.091Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"api","llmSpecific":false,"classifierConfidence":0.6,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["n8n@2.32.1","n8n@2.31.5"],"affectedPurls":["pkg:npm/n8n"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":null,"timeline":[{"event":"published","date":"2026-07-22","source":"record_source"},{"event":"fix_released","date":"2026-07-22","source":"package_registry"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[{"ecosystem":"npm","name":"n8n","fixedVersion":"2.32.1","matchedVersion":"2.32.1","fixReleasedAt":"2026-07-22T10:18:23.590Z","daysToFix":0,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-12-03T18:30:45.089Z"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.31.5","matchedVersion":"2.31.5","fixReleasedAt":"2026-07-22T10:24:16.316Z","daysToFix":0,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-12-03T18:30:45.089Z"}]}}