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.
Published: 2026-10-12
Score: 8.1 High
EPSS: n/a
KEV: No
Impact: Privilege Escalation – unauthorized configuration modification
Action: Immediate Patch
AI Analysis

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.

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

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

No advisories yet.

History

Mon, 12 Oct 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared 0xjacky
0xjacky nginx-ui
Vendors & Products 0xjacky
0xjacky nginx-ui

Mon, 12 Oct 2026 21:15:00 +0000

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'}


Subscriptions

0xjacky Nginx-ui
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-12T21:08:04.687Z

Reserved: 2026-09-01T16:27:58.128Z

Link: CVE-2026-84360

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-12T21:17:22.960

Modified: 2026-10-12T21:17:22.960

Link: CVE-2026-84360

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T23:00:10Z

Weaknesses
  • CWE-288

    Authentication Bypass Using an Alternate Path or Channel