CVE-2026-84319: Nginx UI: MCP configuration tools bypass restricted directive validation and allow secondary authenticated users to execute NJS in Nginx worker context

Published Oct 12, 2026
·
Updated

Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, the regular HTTP configuration API rejects restricted Nginx directives such as loadmodule, jsimport, and jscontent. However, the MCP configuration interface allows a secondary authenticated user to write and apply equivalent restricted configuration content. This allows the user to load ngxhttpjsmodule.so, import attacker-controlled JavaScript, reload Nginx, and execute NJS in the Nginx worker context. This issue is fixed in version 2.4.1.

Affected Software

1 affected component
Nginx UI Nginx UI<2.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Nginx UI to a version that resolves this vulnerability.

    Fixed in 2.4.1

Event History

Oct 12, 2026
CVE Published
via MITRE·09:03 PM
Data Sourced
via MITRE·09:03 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A secondary authenticated Nginx UI user can exploit it through the MCP configuration interface. Exploitation does not require user interaction and can be performed remotely over the network by an authenticated user.

2

What access and capabilities does an attacker need?

The attacker needs credentials for a secondary authenticated user account and access to the MCP configuration interface. They can use it to apply restricted configuration content, load the NJS module, import attacker-controlled JavaScript, and reload Nginx.

3

What is the resulting impact?

Successful exploitation allows attacker-controlled NJS to execute in the Nginx worker context. The reported impacts include high integrity and availability impact, with low confidentiality impact.

4

Which versions are affected and what fixes the issue?

Nginx UI versions prior to 2.4.1 are affected. Upgrade to version 2.4.1, which fixes the MCP interface validation bypass.

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