{"schema":"threatline.record/2","record":{"id":"GHSA-3p2g-2wpm-8h3g","aliases":["GHSA-3p2g-2wpm-8h3g"],"summary":"Prototype Pollution in the AI Workflow Builder Connection Merge","details":"## Impact\n\nThe AI workflow builder merges a workflow's connections using node names directly as object members, with no check for reserved keys. A name refused by the editor but accepted through the API can therefore reach the global object prototype through the builder's connect-nodes operation, a process-wide change that persists until the instance restarts.\n\n## Patches\n\nThe issue has been fixed in n8n versions 1.123.83, 2.42.1, and 2.41.4. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\n\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict n8n instance access to fully trusted users only.\n- Disable the AI Builder feature if it is not required.\n- Audit existing workflows for nodes with reserved JavaScript property names such as `__proto__`, `constructor`, or `prototype` and remove or rename them.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","categories":["Frameworks"],"product":"n8n","vendor":"","ecosystem":null,"affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-3p2g-2wpm-8h3g","source_modified_at":"2026-09-30T08:38:00Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"n8n"},"range":"< 1.123.83"},{"source":"GitHub Advisory Database","source_url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-3p2g-2wpm-8h3g","source_modified_at":"2026-09-30T08:38:00Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"n8n"},"range":"< 2.42.1"},{"source":"GitHub Advisory Database","source_url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-3p2g-2wpm-8h3g","source_modified_at":"2026-09-30T08:38:00Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"n8n"},"range":"< 2.41.4"}],"fixed_versions":[],"cvss":6,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-09-30T08:38:00Z","modified_at":"2026-09-30T08:38:00Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-3p2g-2wpm-8h3g","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-30T08:38:00Z"}],"sources":["GitHub Advisory Database"],"references":[],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-30T08:38:00Z","content_hash":"9ba8a60974efb619f0b3bd252cb8b23902f67f1ff56cb5d389da82939557d38a"}}
