Security advisory on addressing nginx2root vulnerabilities
The page describes how to upgrade Nginx to v1.31.9 on Linux hosts across all Work.AI v10.2.4 to v10.3.3 to eliminate the nginx2root vulnerabilities.
nginx2root is a collection of five distinct Nginx vulnerabilities and one Linux kernel vulnerability:
- CVE-2026-123007
- CVE-2026-123634
- CVE-2026-123633
- CVE-2026-121810
- CVE-2026-113425
Each of the above vulnerabilities has a proven exploit. The most severe one enables unauthenticated remote code execution. Chained with a separate Linux kernel vulnerability, it can lead to the host root.
Prerequisites
Before upgrading Nginx to eliminate the vulnerabilities, check the following prerequisites are met:
- You have Work.AI up and running.
- All Business Processes are paused or stopped.
Remember to run the commands as APPLICATION_USER.
To apply the patch, do the following:
On the Master1 server, download the patch package and extract it into the directory with the existing installer. When downloading and extracting the patch package, make sure to follow the same directory structure as in the example below :
cd /opt/workfusion/wf_installer/
mkdir -pv ./patches
cd ./patches/
curl -k -o 'patch-nginx.tar.gz' 'https://DOWNLOAD_LINK'
tar xzf patch-nginx.tar.gzA new directory named
patch-nginxwith the patch content appears.Navigate to the directory with the patch content and run the command to apply it as in the example below:
export ANSIBLE_PRIVATE_KEY_FILE="/PATH/TO/SSH-PRIVATE-KEY" && export ANSIBLE_VAULT_PASS='YOUR_ANSIBLE_VAULT_PASS'
cd ./patch-nginx
./patch-nginx.sh applyWait for 5 minutes till the patch is successfully applied.
The patch affects only Linux servers, so it is not required to apply it on the RPA server in a multi-point setup. However, if your environment is deployed in a multi-point setup, you need to define additional arguments for each Linux host (Master, Agent, Superset) as shown below. Server numbers start at 0 according to the Installer configuration hosts.yml:
./patch-nginx.sh apply -c local --limit master[0] # When applying for the Master1 server
./patch-nginx.sh apply -c local --limit master[1] # When applying for the Master2 server (for HA mode)
./patch-nginx.sh apply -c local --limit master[2] # When applying for the Master3 server (for HA mode)
./patch-nginx.sh apply -c local --limit agent[0] # When applying for the Agent1 server
./patch-nginx.sh apply -c local --limit agent[1] # When applying for the Agent2 server
./patch-nginx.sh apply -c local --limit superset[0] # When applying for the Superset1 server