{"schema":"threatline.record/2","record":{"id":"GHSA-x25p-9mr6-cwgp","aliases":["GHSA-x25p-9mr6-cwgp"],"summary":"Shared-Workflow Credential Check Misses Agent Node Parameter Credentials","details":"## Impact\n\nWhen a workflow is shared for editing, n8n checks on save that the editor is not introducing credentials they are not allowed to use. That check inspected a node's credentials field, but the agent node keeps its model and per-tool credential ids elsewhere in its parameters, where the check never looked. An editor of a shared workflow can therefore have the owner's credentials resolved for tools they control, sending decrypted secrets to a destination they choose.\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 shared workflows that contain a `Message an Agent` node configured in inline mode and review which users hold editor access.\n- Remove editor access from any users who are not fully trusted until the instance is patched.\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-x25p-9mr6-cwgp","source_modified_at":"2026-09-30T08:35:21Z","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-x25p-9mr6-cwgp","source_modified_at":"2026-09-30T08:35:21Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"n8n"},"range":"< 2.41.4"}],"fixed_versions":[],"cvss":7.2,"severity":"High","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-09-30T08:35:21Z","modified_at":"2026-09-30T08:35:21Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-x25p-9mr6-cwgp","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-30T08:35:21Z"}],"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:35:21Z","content_hash":"feb195cd87424df41d261d87a51529ba56f1b6ab1ef2d1d9689b0b052da76232"}}
