Nginx UI 2.4.1 before 2.9.2 Config Directive Denylist Bypass via Mid-Token '#'
- CVE-2026-144962
- EUVD-2026-144251
Summary
Nginx UI versions from 2.4.1 before 2.9.2 contain a flaw in the configuration validation logic in internal/config/validation.go that lets a user bypass the directive denylist by placing a blocked directive after a token containing a hash followed by a semicolon. Only authenticated users who already have configuration write access can exploit it, through the config API, site and stream saves, or MCP tools. A successful attacker can load njs or perl modules and achieve code execution in the nginx worker process. The record gives a CVSS score of 7.2 and does not list it in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
Description
Nginx UI from 2.4.1 before 2.9.2 contains a directive denylist bypass in internal/config/validation.go that allows authenticated users with configuration write access to smuggle blocked directives by placing them after a token containing '#;'. Attackers can submit crafted content through the config API, site and stream saves, or MCP tools to load njs or perl modules and gain code execution in the nginx worker.
Text from the CVE.org record.
Recommendation
0xJacky Nginx UI
- If you run a version from 2.4.1 to before 2.9.2update to 2.9.2 or laterMinor version change: check the release notes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
0xJacky Nginx UI
Affected versions Fixed in from 2.4.1 to before 2.9.2 2.9.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.