{"schema":"threatline.record/2","record":{"id":"GHSA-2r5r-xgvc-rj4p","aliases":["GHSA-2r5r-xgvc-rj4p"],"summary":"Cross-Project Agent Ownership Transfer via Client-Supplied Agent ID","details":"## Impact\n\nThe Agents create endpoint accepted an identifier supplied by the caller and checked permissions only against the project named in the request. Saving an entity with an existing identifier updated that row rather than failing, and the path never checked which project the existing row belonged to. A user with read-only access to a project's Agents can move one into their own project, where its name, schema and version are rewritten in the same request.\n\n## Patches\n\nThe issue has been fixed in n8n versions 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- Audit team project memberships and remove viewer access for any users who should not have visibility of Agent IDs in sensitive projects.\n- Disable the agents module if it is not required.\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-2r5r-xgvc-rj4p","source_modified_at":"2026-09-30T08:38:07Z","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-2r5r-xgvc-rj4p","source_modified_at":"2026-09-30T08:38:07Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"n8n"},"range":"< 2.41.4"}],"fixed_versions":[],"cvss":6.1,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-09-30T08:38:07Z","modified_at":"2026-09-30T08:38:07Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-2r5r-xgvc-rj4p","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-30T08:38:07Z"}],"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:07Z","content_hash":"2aa47b945f06ea5ff43a38f9f70115b5f34b957aac3eedd2da2e8f9cd510a1d6"}}
