Node-RED 5.0.10 and 4.1.18 came out on 17 November 2026. Project lead Nick O'Leary announced them on the Node-RED forum, saying that the releases "include fixes for the latest Safari browser and a number of security-related updates". The 5.0.x line needs Node.js 22.9 or newer. The 4.1.x line still runs on Node.js 18.5 and later, so it is the one to update if your Node-RED runs on an older system. Docker images for both were published the same day.

One compressed request could stop the process

The fix with the clearest impact comes from a dependency. Both versions update body-parser from 1.20.8 to 1.20.9, which fixes CVE-2026-111181 (GHSA-27r3-jxmh-p828), published on 22 October. According to the advisory, a request with a Content-Encoding such as gzip that carries one valid compressed frame followed by extra bytes causes an uncaught exception that terminates the process. The application first answers normally and only then crashes. No login or matching route is needed, because parsing happens before routing. The pull request notes that in Node-RED both the editor API and the HTTP In nodes accept compressed bodies with the default settings. A Node-RED instance reachable over the network could therefore be stopped with a single request.

Hardening in the editor and runtime

Most of the other changes, written by Nick O'Leary and merged in the first half of November, tighten input validation:

  • RED.util.setObjectProperty and setMessageProperty can no longer write to prototype properties.
  • When a custom token handler is configured, the editor's comms connection now gets the same permission check as in the standard setup. Until now that check was missing.
  • When a session token is revoked, comms connections that used it are now closed. Before, they stayed open.
  • The synchronous file context store checks that generated paths stay inside its base directory, and Projects check that file paths stay inside the project directory.
  • Projects validate SSH key names, key file paths and remote authentication options, and an uploaded tarball must have a valid npm package name and version.
  • Invalid comms packets and topics, websocket upgrade URLs and lang parameters in locale requests no longer cause uncaught exceptions.

The Safari fix replaces direct changes to location.hash in the editor with history.replaceState, because the latest Safari does not handle the former well. Version 5.0.10 also fixes runtime event banners that cut off text before a colon, and a context store callback error that could crash Node-RED.

No CVE numbers for Node-RED itself

The project has not published security advisories or CVE numbers for its own fixes. The repository's advisory page still lists only two entries from 2021. That makes it hard to judge how serious each change was, but the list itself is enough reason to update.

None of these changes turns on authentication by default. In early November VulnCheck reported attacks on Node-RED editors without adminAuth, and such an editor remains open to anyone who can reach it, whatever the version. Updating does not replace setting a password and keeping the editor off the public internet.