Read the docs

Directive denylist bypass in Nginx UI allows code execution via config

Priority MEDIUM 52CWE-436Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Nginx UI from 2.4.1 before 2.9.2 contains a directive denylist bypass in its configuration validation code. An authenticated user with configuration write access can place blocked directives after a token containing '#;', which hides them from the check. The crafted content can be submitted through the config API, site and stream saves, or MCP tools to load njs or perl modules and run code in the nginx worker.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Fix Fixed Nginx UI (0xJacky): 2.9.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
0xJackyNginx UI2.4.1 to before 2.9.22.9.2Patch availableCNA
  • Nginx UI Vendor0xJacky Affected 2.4.1 to before 2.9.2 Fixed in 2.9.2 Patch available CNA

Remediation

Update Nginx UI to version 2.9.2 or later, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA Nginx UI (0xJacky) Fixed in 2.9.2

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-144962
  2. 2026-12-04 Alias added: GHSA-2v4j-rx5v-ph57

References

  • TI-2026-25478 Nginx UI: Unauthenticated MCP Endpoint Allows Remote Nginx Takeover CVSS 3.1CRITICAL 9.8
  • TI-2026-25472 nginx-ui Backup Restore Allows Tampering with Encrypted Backups CVSS 4.0CRITICAL 9.4
  • TI-2026-22288 Nginx UI: Unauthenticated Backup Download with Encryption Key Disclosure CVSS 3.1CRITICAL 9.8
  • TI-2024-15821 Nginx-UI arbitrary file write through the Import Certificate feature CVSS 3.1CRITICAL 9.8
  • TI-2026-70057 Code injection in Nginx UI backup restore allows code execution CVSS 4.0CRITICAL 9.4
  • TI-2026-32056 Nginx UI: Server-Side Request Forgery (SSRF) via Cluster Proxy Middleware Allows Access to Internal Services CVSS 3.1CRITICAL 9.9
See all 44 →

Sources