0xJacky Nginx-UI code execution via config directive denylist bypass
Nginx UI 2.4.1 before 2.9.2 is affected where the njs module is available in the nginx build, as on the official image. Fixed in 2.9.2.
- Exploited
- No known exploitation
- Fix
- Fixed in 2.9.2
- Who is exposed
- Specific setups only
Summary
The Nginx UI software by 0xJacky has a flaw in its directive denylist that lets a logged-in user with high privileges and configuration write access smuggle blocked directives past the check. An attacker can reach it remotely over the network through the config API, site and stream saves, or MCP tools, and use it to load njs or perl modules and run code in the nginx worker.
Written by a model
Original 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.
Who should check
Teams running Nginx UI from 2.4.1 before 2.9.2 that let users or tools write nginx configs, including the official image with njs.
“Nginx UI from 2.4.1 before 2.9.2”
What to do
Check whether your setup matches what the bug needs.
Nginx UI versions from 2.4.1 before 2.9.2 The njs module is available in the nginx build, as on the official imageUpgrade to a fixed version: 2.9.2.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-144962 (Nginx UI 2.4.1 before 2.9.2 Config Directive Denylist Bypass via Mid-Token '#'), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-144962 (entry last updated 2026-12-04):
Affected:
- Go package github.com/0xJacky/Nginx-UI: from 2.4.1, fixed in 2.9.2
Fixed versions: 2.9.2.
Conditions (all must be true for the bug to be hit):
- Nginx UI versions from 2.4.1 before 2.9.2 (source: https://www.vulncheck.com/advisories/nginx-ui-2.4.1-before-2.9.2-config-directive-denylist-bypass-via-mid-token)
- The njs module is available in the nginx build, as on the official image (source: https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xwxf-xc5j-p7hx)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, high-privilege login, no user action.
CISA KEV: CVE-2026-144962 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-144962 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (Go): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xwxf-xc5j-p7hx
- 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/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://www.vulncheck.com/advisories/nginx-ui-2.4.1-before-2.9.2-config-directive-denylist-bypass-via-mid-token
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-144962
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-144962"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure8/25Specific setups only, reachable over the network
- Reach17/20Affects nginx (a widely deployed server, runtime, framework or database)
- Severity8.6/10CVSS 8.6
- No patch0/5No signal
What would change the score
- Would score about 84 if added to CISA KEV
- Would score about 79 if CISA's SSVC rates exploitation active
- Would score about 41 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
- Posted on X by cve.now
Evidence 8
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · 0xJacky/nginx-ui · Advisory GHSA-xwxf-xc5j-p7hx |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-144962 |
| Record | NVD · CVE-2026-144962 |
| Other links 5 | |
| Patch | GitHub · 0xJacky/nginx-ui · Commit d1359aa7 |
| Repository | GitHub · 0xJacky/nginx-ui · Release v2.9.2 |
| Repository | GitHub · 0xJacky/nginx-ui · internal/config/validation.go · L383-L394 |
| Repository | GitHub · 0xJacky/nginx-ui · internal/config/validation.go · L447-L453 |
| Link | vulncheck.com · advisories/nginx-ui-2.4.1-before-2.9.2-config-directive-denylist-bypass-via-mid-token |
Questions about CVE-2026-144962
Is CVE-2026-144962 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A directive denylist in Nginx UI can be bypassed by placing a '#' in the middle of a configuration token. An attacker with configuration write access can use this to load blocked njs or perl modules and run code in the nginx worker.
Source: vulncheck.com, github.com
Which versions are affected by CVE-2026-144962?
github.com/0xJacky/Nginx-UI (Go): from 2.4.1 before 2.9.2.
Source: cve.now feed data
Am I affected, and how do I check?
Nginx UI versions from 2.4.1 before 2.9.2 are affected. The bypass matters where the njs module is available in the nginx build, as on the official image, so check the Nginx UI version and whether the nginx build includes njs.
Source: vulncheck.com, github.com
How do I fix CVE-2026-144962?
Upgrade Nginx UI to 2.9.2 or later, which is the listed fixed version.
Source: vulncheck.com, github.com
Related
- CVE-2026-107806Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite
- CVE-2026-84316Nginx UI: nginx config directive denylist (ValidateConfigFile) is bypassable via same-line ";" separation → authenticated directive injection (RCE on the official image)
- CVE-2026-84317Nginx UI: MCP nginx_config_add skips config directive validation → authenticated nginx directive injection (RCE on the official image)
- CVE-2026-84313Nginx UI: TOTP / passkey enrolment requires no re-authentication, enabling persistent account takeover
- CVE-2026-84318Nginx UI: MCP `nginx_config_add` Bypasses Directive Validation — Authenticated RCE
- CVE-2026-107813Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up
No corrections so far. Something wrong on this page? Report an error.