CVE-2026-144962
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.
CVSS
HIGH 8.6 · v4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XWEAKNESSES
REFERENCES
- https://github.com/0xJacky/nginx-ui/blob/v2.9.1/internal/config/validation.go#L383-L394
- https://github.com/0xJacky/nginx-ui/blob/v2.9.1/internal/config/validation.go#L447-L453
- https://github.com/0xJacky/nginx-ui/commit/d1359aa73a560153d9e022136d66f557bed1d1e6
- https://github.com/0xJacky/nginx-ui/releases/tag/v2.9.2
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xwxf-xc5j-p7hx
- https://www.vulncheck.com/advisories/nginx-ui-2.4.1-before-2.9.2-config-directive-denylist-bypass-via-mid-token
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.