Skip to content

FastX Vulnerabilities in NodeJS

November 4, 2026

FastX uses Node.js® as its web server. Recently, a high security vulnerability has been reported with Node.js, caused by a buffer overflow bug in the Brotli decoder.

For more details read CVE-2026-111497, Inside Node2Shell, or this Node.JS Security Releases blog.

Brotli Library

The vulnerability is in the Brotli decoder, which may be separate from the node executable. If the nodejs package was from a Linux distribution, it is likely linked against the system’s shared brotli library rather than using Node’s internally bundled version. To check for that, run this command:

ldd /usr/bin/node | grep brotli

If this shows output, then the vulnerability is not in the nodejs package, but in the libbrotli package. To upgrade, on RedHat-equivalent systems, run this:

sudo dnf upgrade brotli libbrotli

Make sure the version is at least 1.0.9-10.el9_8.1. The “.1” on the end is important, as it indicates that this patch was cherry-picked.

Integrated Brotli

If the “ldd” command from above does not show any output, then the version of Node.js was probably downloaded from nodejs.org, and includes the brotli routines inside the node binary. In this case, the nodejs package must be upgraded to one of these versions:

  • 26.12.1 or later
  • 24.22.1 or later
  • 22.23.4 or later

To upgrade on Ubuntu/Debian, run this:

sudo apt install nodejs

FastX 3

FastX 3 includes Node.JS v16.20.2, which has the vulnerability. Because FastX 3 is past EOL, there will be no patches. FastX 3 will work with moderns of Node.JS (tested with v22). To use an updated version of Node.JS, do the following:

  • Install the updated version of nodejs (with the security patch)
  • Edit the FastX 3 configuration with this command: sudo systemctl edit fastx3
  • Between the indicated lines, add these lines:
    [Service]
    Environment=NODE_BINARY=/usr/bin/node
  • Restart the fastx3 service: sudo systemctl restart fastx3
  • To make sure the vulnerable version of Node.js is never executed, you may remove or “chmod 0” the directory /usr/lib/fastx/3/nodejs.
Latest News