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

Published Dec 4, 2026
·
Updated

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.

Affected Software

1 affected component
0xJacky Nginx UI>=2.4.1<2.9.2

Event History

Dec 4, 2026
CVE Published
via OSV·02:42 PM
Data Sourced
via OSV·02:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Nginx UI versions from 2.4.1 up to, but not including, 2.9.2 are affected. Exploitation requires access to an interface that can save configuration content, including the config API, site or stream save functions, or MCP tools.

2

What level of access does an attacker need?

The attacker must be authenticated and have configuration write access. No user interaction is required once that access is available.

3

What is the practical impact of successful exploitation?

An attacker can bypass the directive denylist by placing blocked directives after a token containing "#;". This can permit loading njs or perl modules and result in code execution in the nginx worker.

4

How can I determine whether configuration may have been maliciously changed?

Review configuration content submitted through the config API, site and stream saves, and MCP tools for a "#;" token followed by directives that should be blocked. Pay particular attention to directives that load njs or perl modules.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203