CVE-2026-84360

Nginx UI: OTP secure-session step-up can be bypassed via MCP configuration tools

Published Oct 12, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, the HTTP configuration mutation routes require RequireSecureSession, but /mcp and /mcp_message require only ordinary authentication before exposing nginx_config_add and nginx_config_modify. An OTP-enabled user with a normal JWT but no valid X-Secure-Session-ID can therefore create or modify Nginx configuration and trigger reload behavior through MCP, bypassing the intended step-up control. This issue is fixed in version 2.4.1.

Analysis

AI-generated

Technical impact

Nginx UI, a web interface for the Nginx server, has a flaw in the way it handles one‑time‑password (OTP) secure sessions. When a user has a valid OTP but does not set the X‑Secure‑Session‑ID header, the /mcp and /mcp_message endpoints allow access to nginx_config_add and nginx_config_modify, bypassing the expected RequireSecureSession guard that protects configuration mutation routes. Because the OTP authentication is present but step‑up control is not enforced, an attacker who can obtain OTP‑enabled credentials may alter or add Nginx configuration directives, potentially causing service disruption or enabling further compromise.

Affected Systems

The affected product is nginx‑ui from the vendor 0xJacky. All releases prior to version 2.4.1 are impacted; the fix is present in version 2.4.1 and later.

Risk and Exploitability

The CVSS score of 8.1 reflects a high‑severity vulnerability that can lead to unauthorized changes to server configuration. No EPSS data is available, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack path involves a web‑based request to /mcp or /mcp_message using a valid OTP‑enabled session without the required secure‑session header. If an attacker can obtain OTP credentials, exploitation requires only web access and can be performed remotely.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade nginx‑ui to version 2.4.1 or newer to apply the required secure‑session guard on configuration mutation routes.
  • If an upgrade cannot be performed immediately, block or restrict access to the /mcp and /mcp_message endpoints for OTP‑enabled users using firewall rules or web‑app access controls.
  • Disable OTP for non‑administrative accounts or enforce role‑based limits that prevent configuration changes from users who do not require them.
  • Continuously monitor Nginx configuration files for unexpected changes and audit log entries that indicate configuration activity.
  • Verify that RequireSecureSession is enabled for all configuration mutation endpoints in the deployed nginx‑ui configuration.

Generated by OpenCVE AI on October 12, 2026 at 22:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vc32-4gwf-77xp Nginx UI: OTP secure-session step-up can be bypassed via MCP configuration tools
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared 0xjacky
0xjacky nginx-ui
Vendors & Products 0xjacky
0xjacky nginx-ui
Type Values Removed Values Added
Description Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, the HTTP configuration mutation routes require RequireSecureSession, but /mcp and /mcp_message require only ordinary authentication before exposing nginx_config_add and nginx_config_modify. An OTP-enabled user with a normal JWT but no valid X-Secure-Session-ID can therefore create or modify Nginx configuration and trigger reload behavior through MCP, bypassing the intended step-up control. This issue is fixed in version 2.4.1.
Title Nginx UI: OTP secure-session step-up can be bypassed via MCP configuration tools
Weaknesses CWE-288
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

Weaknesses
  • CWE-288

    Authentication Bypass Using an Alternate Path or Channel

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 13, 2026, 2:00 PM
Reserved
Sep 1, 2026, 4:27 PM
Status
Deferred
Published
Oct 12, 2026, 9:17 PM
Modified
Oct 13, 2026, 2:31 PM