//nefariousplan

n8n

The plan

The Nefarious Plan of n8n. Four n8n CVEs in a year. Every patch adds a check at the handler where the bug landed. The chokepoint that would have closed the class sits one layer above the handler in all four files, and n8n has not moved toward it once.

Case files

  1. CVE-2026-42228: n8n's Chat WebSocket Treated Existence As Authorization

    CVE-2026-42228: n8n's Chat WebSocket Treated Existence As Authorization

    n8n's chat WebSocket handler accepts a connection on /chat, parses three query parameters, and calls a function literally named checkIfExecutionExists. If the execution row is present in the database, the connection stays open and starts streaming the workflow…

  2. CVE-2026-42231: xml2js Used defineProperty So __proto__ Wouldn't Mutate. The Property It Wrote Is The Pollution.

    CVE-2026-42231: xml2js Used defineProperty So __proto__ Wouldn't Mutate. The Property It Wrote Is The Pollution.

    n8n's body parser registers a single xml2js Parser at module load. The configuration is four flags.

  3. CVE-2026-21858: n8n's req.body.files Was Formidable's Output. The JSON Parser Used the Same Name.

    CVE-2026-21858: n8n's req.body.files Was Formidable's Output. The JSON Parser Used the Same Name.

    n8n's Form node reads (context.getBodyData().files as IDataObject) ?? {}, iterates each entry, and copies each entry's filepath from disk into the workflow's binary store.

  4. CVE-2026-21877: The Helper That Stops This Bug Was Already in n8n

    CVE-2026-21877: The Helper That Stops This Bug Was Already in n8n

    The patch for CVE-2026-21877 adds eight lines to n8n's Git node and one line to a helper interface. The eight lines are a single if statement: ask whether the path is blocked, throw if it is.