Patchfirst
CVE-2026-33032 Public exploit Critical · 9.8 EPSS 35.9%

Nginx UI: Unauthenticated MCP Endpoint Allows Remote Nginx Takeover

No fixed version listed yet.Check the vendor advisory. References ↓

0xJacky · nginx-ui

Summary

The nginx-ui web interface for the Nginx web server, in version 2.3.5 and prior, has a missing authentication flaw in its MCP (Model Context Protocol) integration, where the /mcp_message endpoint checks only IP whitelisting and the default whitelist is empty, which is treated as allow-all. An attacker with plain network access can, without any credentials or user interaction, invoke all MCP tools to restart nginx, create, modify, or delete its configuration files, and trigger automatic reloads, gaining full control of the nginx service.

Official description · CVE.org

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.

Breakdown
74.2 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 14 days after disclosure. Public exploit code (PoC-in-GitHub) appeared 4 days after disclosure.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+4 days
  3. First seen exploitedVulnCheck KEV evidence+14 days

Affected versions and fixes

as published in the CVE record

0xJacky nginx-ui

Affected: <= 2.3.5

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: github.com/0xJacky/Nginx-UI.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close