Nginx UI: Unauthenticated MCP Endpoint Allows Remote Nginx Takeover
Title source: cnaExploitation Summary
CVE-2026-33032 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 3 public exploits from researchers including keraattin, Shreda, Twinson333. A Nuclei detection template is also available.
AI-analyzed exploit summary This repository provides a non-destructive detection tool for CVE-2026-33032, an authentication bypass vulnerability in nginx-ui versions prior to 2.3.4. The tool checks for the presence of the vulnerability by attempting to list MCP tools without authentication.
Description
Nginx UI is a web user interface for the Nginx web server. In versions 2.3.5 and prior, the nginx-ui MCP (Model Context Protocol) integration exposes two HTTP endpoints: /mcp and /mcp_message. While /mcp requires both IP whitelisting and authentication (AuthRequired() middleware), the /mcp_message endpoint only applies IP whitelisting - and the default IP whitelist is empty, which the middleware treats as "allow all". This means any network attacker can invoke all MCP tools without authentication, including restarting nginx, creating/modifying/deleting nginx configuration files, and triggering automatic config reloads - achieving complete nginx service takeover. At time of publication, there are no publicly available patches.
Exploits (3)
This repository provides a non-destructive detection tool for CVE-2026-33032, an authentication bypass vulnerability in nginx-ui versions prior to 2.3.4. The tool checks for the presence of the vulnerability by attempting to list MCP tools without authentication.
This repository contains a functional exploit for CVE-2026-33032, which chains with CVE-2026-27944 to achieve unauthenticated remote code execution (RCE) in nginx-ui v2.3.1. The exploit leverages an unauthenticated backup endpoint to extract credentials and then abuses a missing authentication middleware in the MCP message handler to modify nginx configurations and reload the service.
This repository contains a non-destructive scanner for CVE-2026-33032, an authentication bypass vulnerability in nginx-ui's MCP endpoint. The scanner detects the vulnerability by testing read-only MCP tools without authentication.
Nuclei Templates (1)
http.title:"Nginx UI"
title="Nginx UI"
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H