High

Nginx UI config validation bypass allows code execution

An authenticated user with configuration write access can smuggle blocked directives by hiding them after a token containing '#;'. This lets them load njs or perl modules and gain code execution in the nginx worker through the config API, site and stream saves, or MCP tools.

Product
Nginx UI
Systems
macOSWindowsLinux
Fixed in
2.9.2
CVSS
7.2
Weakness
CWE-436
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 2.9.2. Check the version you have and update to 2.9.2 or later. The fixed version is verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
Nginx UIother>=2.4.1, <2.9.22.9.2

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Anyone running Nginx UI version 2.4.1 up to but not including 2.9.2, on macOS, Windows or Linux.

Expected outcome after remediation

Report whether Nginx UI is installed and its version; if it is 2.4.1 or newer but below 2.9.2, update it to 2.9.2 or later and confirm the new version.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5855 and your operating system.