What happened
CVE-2026-142024 is a missing-authorization flaw in n8n's agent-chat human-in-the-loop resume handler. A user can invoke the resume action for an agent conversation without adequate authorization, potentially resuming or approving a step they do not own.
Why it matters
Human-in-the-loop approval is the safety gate on autonomous agent actions. If the resume handler lacks authorization, an attacker can approve or resume pending agent actions (e.g., an outbound email, payment, or tool call) that were intended to be gated by a specific user.
Attack vector
The handleAction function in the Agent Handler component performs a manipulation (likely a user/execution-identifier or state transition) that results in missing authorization, so a caller can resume or act on a human-in-the-loop agent step without proper ownership/permission checks.
Affected systems
n8n up to 2.50.5 (packages/cli/src/modules/agents/integrations/agent-chat-hitl-resume-handler.ts)
Mitigation
Upgrade n8n to a fixed version and restrict access to the agent HITL resume endpoint/path.