# CVE-2026-144962: Nginx UI 2.4.1 before 2.9.2 Config Directive Denylist Bypass via Mid-Token '#'

Source: https://aplosec.si/cve/CVE-2026-144962/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-144962

High 8.6 · Reported · Fixed in 2.9.2 · CWE-436 · Go

# Nginx UI 2.4.1 before 2.9.2 Config Directive Denylist Bypass via Mid-Token '#'

CVE-2026-144962 · published 2026-12-04

In plain words: this type of bug lets two parts of a system read the same input differently, so a check can be slipped past (parsing mismatch). A fixed release is listed.

## Summary

CVE-2026-144962 affects Nginx UI (Go) >= 2.4.1, < 2.9.2: Config Directive Denylist Bypass via Mid-Token '#' (CWE-436). Fixed in 2.9.2. CVSS 4.0 base score 8.6 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade Nginx UI to 2.9.2 or later. Releases in the affected range (>= 2.4.1, < 2.9.2) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-12-04 CVE published

## References

- [Referencehttps://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xwxf-xc5j-p7hx](https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-xwxf-xc5j-p7hx)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/nginx-ui-2.4.1-before-2.9.2-config-directive-denylist-bypass-via-mid-token](https://www.vulncheck.com/advisories/nginx-ui-2.4.1-before-2.9.2-config-directive-denylist-bypass-via-mid-token)

- [Fix commithttps://github.com/0xJacky/nginx-ui/commit/d1359aa73a560153d9e022136d66f557bed1d1e6](https://github.com/0xJacky/nginx-ui/commit/d1359aa73a560153d9e022136d66f557bed1d1e6)

- [Releasehttps://github.com/0xJacky/nginx-ui/releases/tag/v2.9.2](https://github.com/0xJacky/nginx-ui/releases/tag/v2.9.2)

- [Vulnerable codehttps://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#L383-L394)

- [Vulnerable codehttps://github.com/0xJacky/nginx-ui/blob/v2.9.1/internal/config/validation.go#L447-L453](https://github.com/0xJacky/nginx-ui/blob/v2.9.1/internal/config/validation.go#L447-L453)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144962](https://www.cve.org/CVERecord?id=CVE-2026-144962)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-144962](https://nvd.nist.gov/vuln/detail/CVE-2026-144962)

**Severity:** High 8.6 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-144962)

**Package:** Nginx UI

**Ecosystem:** Go

**Affected:** >= 2.4.1, < 2.9.2

**Fixed:** 2.9.2

**Weakness:** CWE-436

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
