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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.82%, higher than 87% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-30T16:43:13.000Z
- Modified: 2026-09-10T03:50:39.399Z
- Also known as: GHSA-h6c2-x2m2-mwhf, GO-2026-4904
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- 0xJacky nginx-ui: <= 2.3.5
- github.com/0xJacky/Nginx-UI (Go): up to 1.99; all versions
- nginxui nginx_ui: up to 2.3.5

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h6c2-x2m2-mwhf> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://websec.net/blog/cve-2026-33032-unauthenticated-nginx-ui-mcp-takeover-69e1200f9fceb1f3fbe9c47f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33032> (advisory)
- <https://github.com/0xJacky/nginx-ui> (package)
- <https://github.com/0xJacky/nginx-ui/blob/f89f8ff8223478988f7ed49bf1d3dbf2de44bf92/internal/middleware/ip_whitelist.go#L11-L26> (web)
- <https://github.com/0xJacky/nginx-ui/blob/f89f8ff8223478988f7ed49bf1d3dbf2de44bf92/mcp/router.go#L9-L17> (web)

## Sources

- CVE List: [CVE-2026-33032](https://www.cve.org/CVERecord?id=CVE-2026-33032), CVE Terms of Use, modified 2026-04-16
- GitHub Advisory Database: [GHSA-h6c2-x2m2-mwhf](https://github.com/advisories/GHSA-h6c2-x2m2-mwhf), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4904](https://pkg.go.dev/vuln/GO-2026-4904), CC-BY-4.0, modified 2026-04-02
- NVD: [CVE-2026-33032](https://nvd.nist.gov/vuln/detail/CVE-2026-33032), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33032 · Whole record: https://cve.day/CVE-2026-33032.json · Rebuilt by cve.day 2026-11-25T22:59:17.519Z
