{"id":"CVE-2026-118678","state":"PUBLISHED","title":"n8n before 2.41.4 and 2.42.1 Prototype Pollution DoS via Workflow History Compaction","description":"n8n before 2.41.4 and 2.42.x before 2.42.1 contains a prototype pollution vulnerability that allows low-privileged users to alter built-in object behaviour by saving workflows with specially named connection keys. Attackers can add keys such as __proto__ to workflow connections, which the periodic history compaction task processes, causing logins and writes to fail with server errors.","publishedAt":"2026-10-28T18:59:50.449Z","updatedAt":"2026-10-29T20:54:29.021Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["n8n-io n8n"],"affected":[{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.41.4","versionType":"semver"},{"version":"2.41.4","status":"unaffected","versionType":"semver"}]},{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"2.42.0","status":"affected","lessThan":"2.42.1","versionType":"semver"},{"version":"2.42.1","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-fvv4-gmv9-xqf5","https://www.vulncheck.com/advisories/n8n-before-2.41.4-and-2.42.1-prototype-pollution-dos-via-workflow-history-compaction"],"weaknesses":["CWE-1321"],"ingestedAt":"2026-10-29T23:14:04.755Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118678.json","commit":"dc7676b3f67d6707e4927968546e7e0125ff7ec7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118678","state":"PUBLISHED","datePublished":"2026-10-28T18:59:50.449Z","dateUpdated":"2026-10-29T20:54:29.021Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-28T17:28:46.441Z"},"containers":{"cna":{"title":"n8n before 2.41.4 and 2.42.1 Prototype Pollution DoS via Workflow History Compaction","descriptions":[{"lang":"en","value":"n8n before 2.41.4 and 2.42.x before 2.42.1 contains a prototype pollution vulnerability that allows low-privileged users to alter built-in object behaviour by saving workflows with specially named connection keys. Attackers can add keys such as __proto__ to workflow connections, which the periodic history compaction task processes, causing logins and writes to fail with server errors."}],"affected":[{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.41.4","versionType":"semver"},{"version":"2.41.4","status":"unaffected","versionType":"semver"}]},{"vendor":"n8n-io","product":"n8n","packageURL":"pkg:npm/n8n","defaultStatus":"unaffected","versions":[{"version":"2.42.0","status":"affected","lessThan":"2.42.1","versionType":"semver"},{"version":"2.42.1","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-fvv4-gmv9-xqf5","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-fvv4-gmv9-xqf5)"},{"url":"https://www.vulncheck.com/advisories/n8n-before-2.41.4-and-2.42.1-prototype-pollution-dos-via-workflow-history-compaction","name":"VulnCheck Advisory: n8n before 2.41.4 and 2.42.1 Prototype Pollution DoS via Workflow History Compaction","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1321","lang":"en","description":"Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-28T18:59:50.449Z"},"datePublic":"2026-10-14T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*","versionEndExcluding":"2.41.4"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*","versionStartIncluding":"2.42.0","versionEndExcluding":"2.42.1"}]}]}],"credits":[{"lang":"en","value":"Masofgon","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T15:28:50.969331Z","id":"CVE-2026-118678","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T20:54:29.021Z"}}]}}}