CVE-2026-144962
7.2HighPublished Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-436
What an attacker gets
Authenticated users with config write access can bypass directive denylists to execute arbitrary code. They achieve this by smuggling blocked directives using a '#;' token in the configuration API.
Root cause
The validation logic in internal/config/validation.go fails to properly sanitize input, allowing blocked directives to be injected after a '#;' sequence.
Affected versions
Nginx UI 2.4.1 through 2.9.1
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to Nginx UI 2.9.2 or later. Restrict configuration write access to trusted users until the patch is applied.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
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
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1449717.1HighAttackers can read or overwrite arbitrary files on the host system. They need a user to process a malicious tar, tgz, or zip archive containing crafted symlinks.
- CVE-2026-1449698.1HighUnauthenticated attackers can hijack user and administrator sessions by tricking victims into clicking a malicious link. This allows full account takeover via spoofed IdP authorization callbacks.
- CVE-2026-1449657.5HighUnauthenticated attackers can read arbitrary local files by embedding them into generated documents. This occurs even when file insertion is explicitly disabled in the configuration.
- CVE-2026-1449567.4HighNetwork attackers can intercept traffic and impersonate upstream hosts to read sensitive data or forge responses. This requires the attacker to be in a position to intercept traffic and the -client-authentication-ca-cert flag to be unset.
- CVE-2026-1447437.5HighUnauthenticated remote attackers can crash the device by sending a crafted request to the HNAP handler. This results in a denial of service for the router.
- CVE-2026-1449448.1HighAuthenticated attackers can modify or delete event attendees in private projects they shouldn't access. This requires a valid low-privilege API token.