{"id":"CVE-2026-118678","revision":"24f597babfcb4d27bc7e0982a6018d51","records":[{"revision":"24f597babfcb4d27bc7e0982a6018d51","observedAt":"2026-10-28T19:46:48.975+00:00","statement":{"source":"cve-program","id":"CVE-2026-118678","aliases":[],"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.","state":0,"publishedAt":"2026-10-28T18:59:50.449+00:00","modifiedAt":"2026-10-28T18:59:50.449+00:00","affected":[{"ecosystem":"Vendor product","name":"n8n","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"n8n-io\",\n                    \"product\": \"n8n\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/n8n\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.41.4\"\n                        },\n                        {\n                            \"version\": \"2.41.4\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"n8n","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"n8n-io\",\n                    \"product\": \"n8n\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/n8n\",\n                    \"versions\": [\n                        {\n                            \"version\": \"2.42.0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2.42.1\"\n                        },\n                        {\n                            \"version\": \"2.42.1\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":7.1,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":7.1,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-118678","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-118678","identifiers":["CVE-2026-118678"]},"retained":false,"historicalAffected":[]}],"coverage":[]}