PT-2026-29092 · Nginx+1 · Nginx+1
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Nginx UI versions prior to 2.3.6
Description
An authentication bypass exists in the Model Context Protocol (MCP) integration of Nginx UI. The software exposes two HTTP endpoints:
/mcp and /mcp message. While /mcp is protected by both IP whitelisting and the AuthRequired() middleware, the /mcp message endpoint only utilizes IP whitelisting. Because the default IP whitelist is empty, the middleware treats this as "allow all," permitting any network attacker to invoke MCP tools without authentication. Additionally, the /api/mcp/invoke endpoint fails to verify session tokens.Exploitation allows a remote attacker to achieve complete takeover of the Nginx service by performing actions such as restarting Nginx, creating, modifying, or deleting configuration files, and triggering automatic configuration reloads. This can lead to traffic interception, credential harvesting, and service disruption. Approximately 2,689 exposed instances have been identified worldwide, with active exploitation confirmed in a campaign codenamed MCPwn.
Recommendations
Update Nginx UI to version 2.3.6 immediately.
As a temporary workaround, disable the Nginx UI service entirely or block access to the management port at the network firewall.
Restrict access to the
/mcp message and /api/mcp/invoke endpoints to minimize the risk of exploitation.Exploit
Fix
RCE
LPE
DoS
Missing Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nginx
Nginx-Ui